tegal1337 / YOMEN

Youtube Bot Auto Comment
https://imtaqin.id/youtube-auto-commenter/
176 stars 78 forks source link

not starting chrome even installed #7

Closed amandalal123 closed 2 years ago

amandalal123 commented 2 years ago

┌──(sad㉿Demon)-[~/Downloads/Youtube-Auto-Commenter] └─$ node main.js (node:29836) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process! spawn C:\Program Files\Google\Chrome\Application\chrome.exe ENOENT

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

at onClose (/home/sad/Downloads/Youtube-Auto-Commenter/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241:20)
at ChildProcess.<anonymous> (/home/sad/Downloads/Youtube-Auto-Commenter/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:233:85)
at ChildProcess.emit (events.js:400:28)
at Process.ChildProcess._handle.onexit (internal/child_process.js:280:12)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:82:21)

(Use node --trace-warnings ... to show where the warning was created) (node:29836) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:29836) [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.

┌──(sad㉿Demon)-[~/Downloads/Youtube-Auto-Commenter] └─$

MinSteRexS commented 2 years ago

yeah, its seem cannot be run... what i can do next ?

image

fdciabdul commented 2 years ago

┌──(sad㉿Demon)-[~/Downloads/Youtube-Auto-Commenter] └─$ node main.js (node:29836) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process! spawn C:\Program Files\Google\Chrome\Application\chrome.exe ENOENT

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

at onClose (/home/sad/Downloads/Youtube-Auto-Commenter/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241:20)
at ChildProcess.<anonymous> (/home/sad/Downloads/Youtube-Auto-Commenter/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:233:85)
at ChildProcess.emit (events.js:400:28)
at Process.ChildProcess._handle.onexit (internal/child_process.js:280:12)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:82:21)

(Use node --trace-warnings ... to show where the warning was created) (node:29836) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:29836) [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.

┌──(sad㉿Demon)-[~/Downloads/Youtube-Auto-Commenter] └─$

delete this line https://github.com/tegal1337/Youtube-Auto-Commenter/blob/795abe272344ea981d4d4c30b18785f4a0288eec/main.js#L31

amandalal123 commented 2 years ago

thanks it worked

┌──(sad㉿Demon)-[~/Downloads/Youtube-Auto-Commenter] └─$ node main.js (node:29836) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process! spawn C:\Program Files\Google\Chrome\Application\chrome.exe ENOENT TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

at onClose (/home/sad/Downloads/Youtube-Auto-Commenter/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241:20)
at ChildProcess.<anonymous> (/home/sad/Downloads/Youtube-Auto-Commenter/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:233:85)
at ChildProcess.emit (events.js:400:28)
at Process.ChildProcess._handle.onexit (internal/child_process.js:280:12)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:82:21)

(Use node --trace-warnings ... to show where the warning was created) (node:29836) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:29836) [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. ┌──(sad㉿Demon)-[~/Downloads/Youtube-Auto-Commenter] └─$

delete this line

https://github.com/tegal1337/Youtube-Auto-Commenter/blob/795abe272344ea981d4d4c30b18785f4a0288eec/main.js#L31

thanks it worked

i6c commented 2 years ago

bruh 😐😐😐