You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
puppeteer package (v^5.5.0) would fail to install and run on ARM64 chip machines. I encountered this error when running our headless unit tests using npm run test commend, as recommended by our official documents.
This error has been found on machines with the new Apple Silicon/M1 and Raspberry Pi4. The cause seems to be missing ARM builds for Chromium, and it is unclear the build will be available soon. On a local level, some lengthy remedy has been suggested (LINK) but wouldn't work for everyone. In the same thread, there is a report that updating the dependency of puppeteer to v^10.0.0 would resolve the issue (LINK).
On a separate but related note, I will file another issue to gauge interest in adding the Mocha+Playwright option to the current Mocha+Puppeteer.
p5.js version: v1.4.0
Web browser and version: Chromium
Operating System: MacOSX 11.4
Steps to reproduce this:
On a ARM64 chip machine, clone the latest version of p5.js.
Install node (v16.6.1) and npm (v7.20.5)
npm install grunt
npm run test ⇝ Fatal Error! (see below)
Fatal error: Failed to launch the browser process! spawn /usr/bin/chromium-browser ENOENT
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
The text was updated successfully, but these errors were encountered:
I do plan on updating puppeteer to the latest version (the version we are using doesn't work with node 16) but got some failed tests that stopped me from proceeding. Details in #5367. If those tests can be solved, we can update to the latest version of puppeteer. I can get everything tested once puppeteer is updated but I don't know much about the tests that are failing to solve them myself.
Most appropriate sub-area of p5.js?
Details about the bug:
puppeteer
package (v^5.5.0) would fail to install and run on ARM64 chip machines. I encountered this error when running our headless unit tests usingnpm run test
commend, as recommended by our official documents.This error has been found on machines with the new Apple Silicon/M1 and Raspberry Pi4. The cause seems to be missing ARM builds for Chromium, and it is unclear the build will be available soon. On a local level, some lengthy remedy has been suggested (LINK) but wouldn't work for everyone. In the same thread, there is a report that updating the dependency of
puppeteer
to v^10.0.0 would resolve the issue (LINK).On a separate but related note, I will file another issue to gauge interest in adding the Mocha+Playwright option to the current Mocha+Puppeteer.
npm install grunt
npm run test
⇝ Fatal Error! (see below)The text was updated successfully, but these errors were encountered: