Skip to content

Puppeteer version is not compatible with M1 Macs #480

@kevinansfield

Description

@kevinansfield

On M1 Macs puppeteer does not correctly load Chrome/Chromium with the error:

/Users/kevin/.npm/_npx/4e4aff0f1510c9e0/node_modules/ember-codemods-telemetry-helpers/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193
            reject(new Error([
                   ^

Error: Failed to launch the browser process! spawn /usr/bin/chromium-browser ENOENT

This was an issue in Puppeteer that has been fixed 10.0.0 and later - puppeteer/puppeteer#6622. With the version used in this package there's no way to override the Chrome location that puppeteer will use because the path was hardcoded.

There's an open pull request to bump the puppeteer version here:
#468

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions