puppeteer / examples

Use case-driven examples for using Puppeteer and headless chrome
https://developers.google.com/web/tools/puppeteer/
Apache License 2.0
2.37k stars 302 forks source link

Error: Failed to launch chrome! #23

Open abduwaly opened 5 years ago

abduwaly commented 5 years ago

I got the following error while I run node speech.js

(node:75891) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome! spawn /Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary ENOENT

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

    at onClose (/Users/abuduwail/Desktop/personal/Puppeteer/puppeteer-examples/node_modules/puppeteer/lib/Launcher.js:342:14)
    at ChildProcess.helper.addEventListener.error (/Users/abuduwail/Desktop/personal/Puppeteer/puppeteer-examples/node_modules/puppeteer/lib/Launcher.js:333:64)
    at ChildProcess.emit (events.js:182:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
    at onErrorNT (internal/child_process.js:407:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
(node:75891) 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:75891) [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.