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 :
https://github.com/puppeteer/puppeteer/issues/6622
question from:
https://stackoverflow.com/questions/65928783/puppeteer5-5-0-install-node-install-js-on-m1 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…