Skip to content

Error: Failed to launch chrome! #23

@abduwaly

Description

@abduwaly

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions