Skip to content

Commit 2806265

Browse files
committed
Document workaround for Apple Silicon
1 parent b23b3bd commit 2806265

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,18 @@ Using a `package.json` script that can be run with `npm run cover`:
347347
}
348348
```
349349

350+
## Workaround for Apple Silicon
351+
352+
Puppeteer fails to launch on M1. Follow these steps to work around:
353+
354+
- Install Google Chrome
355+
- Define these environment variables:
356+
357+
```bash
358+
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
359+
export PUPPETEER_EXECUTABLE_PATH=/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
360+
```
361+
350362
## Compatibility
351363

352364
- v7.x

0 commit comments

Comments
 (0)