Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing on ARM chip errors #73

Open
brittneypostma opened this issue Aug 25, 2022 · 3 comments
Open

Installing on ARM chip errors #73

brittneypostma opened this issue Aug 25, 2022 · 3 comments

Comments

@brittneypostma
Copy link

Tried cloning and running npm install and ran into an error regarding the ARM chip with the puppeteer package and the chromium binary.

npm ERR! code 1
npm ERR! path /Users/brittneypostma/Coding/abcs-of-netlify/node_modules/puppeteer
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! The chromium binary is not available for arm64.
npm ERR! If you are on Ubuntu, you can install with: 
npm ERR! 
npm ERR!  sudo apt install chromium
npm ERR! 
npm ERR! 
npm ERR!  sudo apt install chromium-browser
npm ERR! 
npm ERR! /Users/brittneypostma/Coding/abcs-of-netlify/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:115
npm ERR!                     throw new Error();
npm ERR!                     ^
npm ERR! 
npm ERR! Error
npm ERR!     at /Users/brittneypostma/Coding/abcs-of-netlify/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:115:27
npm ERR!     at FSReqCallback.oncomplete (node:fs:198:21)

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/brittneypostma/.npm/_logs/2022-08-25T00_48_26_875Z-debug-0.log

Just going to remove puppeteer for now.

@brittneypostma
Copy link
Author

I was able to install after removing cypress and the netlify-plugin-cypress.

@maxcell
Copy link
Contributor

maxcell commented Aug 31, 2022

Thank you for the report @brittneypostma! We've had intermittent issues with Cypress and the ARM. We can investigate what a possible solution might be. I believe the version of Cypress might not be as compatible as we expected.

Could you also share what operating system and version you're running? Under "About this Mac"

@jzhzh
Copy link

jzhzh commented Dec 11, 2022

Faced the same problem. My operating system is macOS Monterey 12.6.1 with M1 pro chip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants