Skip to content

Commit

Permalink
[Wiki] Document puppeteer error on M1/M2 machines (#6989)
Browse files Browse the repository at this point in the history
Co-authored-by: Trevor Pierce <[email protected]>
  • Loading branch information
cee-chen and 1Copenut authored Jul 25, 2023
1 parent 26a5d3d commit 7495f15
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions wiki/contributing-to-eui/running-eui-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ EUI only uses [yarn@v1 (classic)](https://classic.yarnpkg.com/en/docs/install),
yarn
```

#### Puppeteer issues

If you're on an Apple arm64 machine and receive an error on `yarn` about Puppeteer/the chromium binary not being available, you have two options:

1. If you don't need to run Puppeteer tests locally:
- Paste `PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true` into your terminal as an environment variable
2. If you do need need to run Puppeteer locally:
- [Follow these steps](https://github.com/puppeteer/puppeteer/issues/6622#issuecomment-787912758) to install the Chromium binary globally and update your `~/.zshrc`.

## Running

You can run the documentation locally at [http://localhost:8030/](http://localhost:8030/) with the following command:
Expand Down

0 comments on commit 7495f15

Please sign in to comment.