Skip to content

Commit

Permalink
Document workaround for Apple Silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
mantoni committed Apr 20, 2021
1 parent b23b3bd commit 2806265
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Expand Up @@ -347,6 +347,18 @@ Using a `package.json` script that can be run with `npm run cover`:
}
```

## Workaround for Apple Silicon

Puppeteer fails to launch on M1. Follow these steps to work around:

- Install Google Chrome
- Define these environment variables:

```bash
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
export PUPPETEER_EXECUTABLE_PATH=/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
```

## Compatibility

- v7.x
Expand Down

0 comments on commit 2806265

Please sign in to comment.