somiibo / youtube-view-generator-bot

YouTube View Generator. Generate views on your YouTube videos
https://somiibo.com/platforms/youtube-bot
67 stars 13 forks source link

UnhandledPromiseRejectionWarning on npm start #1

Open vipulpurohit opened 1 year ago

vipulpurohit commented 1 year ago

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.