Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnhandledPromiseRejectionWarning on npm start #1

Open
vipulpurohit opened this issue Feb 22, 2023 · 0 comments
Open

UnhandledPromiseRejectionWarning on npm start #1

vipulpurohit opened this issue Feb 22, 2023 · 0 comments

Comments

@vipulpurohit
Copy link

Hello, getting the following error while executing the npm start command on the Ubuntu subsystem:

(node:7921) UnhandledPromiseRejectionWarning: TypeError: fs.rmSync is not a function at Object.removeSync [as sync] (/home/vipul/view/youtube-view-generator-bot/node_modules/fs-jetpack/lib/remove.js:16:6) at Object.remove (/home/vipul/view/youtube-view-generator-bot/node_modules/fs-jetpack/lib/jetpack.js:199:14) at Module.module.exports (/home/vipul/view/youtube-view-generator-bot/src/index.js:20:6) at Object.<anonymous> (/home/vipul/view/youtube-view-generator-bot/src/index.js:50:10) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Function.Module.runMain (module.js:693:10) (node:7921) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:7921) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
is it something related to the node version?
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant