deor

fix for: “The chromium binary is not available for arm64.”

error /Users/deor/Desktop/Code/deor-blog-v2/node_modules/puppeteer: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /Users/deor/Desktop/Code/deor-blog-v2/node_modules/puppeteer
Output:
The chromium binary is not available for arm64.

I already have chromium downloaded, but if not:

brew install chromium --no-quarantine

Add this to ~/.zshrc or to your shell profile (.bashrc, .bash_profile, etc):

export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
export PUPPETEER_EXECUTABLE_PATH=`which chromium`

Reload the terminal:

source ~/.zshrc
// or .bashrc, .bash_profile, etc