I've been trying to work on a code I wrote a couple of months back ran into the following error,
> [email protected] install /Users/xyz/Documents/xyz.github.io/node_modules/puppeteer
> node install.js
The chromium binary is not available for arm64:
If you are on Ubuntu, you can install with:
apt-get install chromium-browser
/Users/xyz/Documents/xyz.github.io/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:112
throw new Error();
Error
at /Users/xyz/Documents/xyz.github.io/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:112:19
at FSReqCallback.oncomplete (node:fs:194:21)
Chromium arm64 is installed for some reason puppeteer doesn't seem to recognize it. Any workaround for the above?
Solutions I've tried :
brew install --cask chromium
and also to open a new terminal after changes in~/.zshrc
. – Decomposition