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

Project doesn't install on arm64 #33

Open
IlyaSemenov opened this issue Mar 8, 2024 · 0 comments
Open

Project doesn't install on arm64 #33

IlyaSemenov opened this issue Mar 8, 2024 · 0 comments

Comments

@IlyaSemenov
Copy link

Describe the bug
The project wouldn't install on arm64 platform.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the project
  2. Run npm i
  3. See error:
% npm i
npm WARN skipping integrity check for git dependency ssh://[email protected]/feross/buffer.git
npm WARN deprecated [email protected]: In 6.x, the babel package has been deprecated in favor of babel-cli. Check https://opencollective.com/babel to support the Babel maintainers
npm WARN deprecated [email protected]: < 18.1.0 is no longer supported
npm ERR! code 1
npm ERR! path /Users/is/work/github/easy-web-crypto/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!  apt-get install chromium-browser
npm ERR!
npm ERR! /Users/is/work/github/easy-web-crypto/node_modules/puppeteer/lib/BrowserFetcher.js:112
npm ERR!             throw new Error();
npm ERR!             ^
npm ERR!
npm ERR! Error
npm ERR!     at /Users/is/work/github/easy-web-crypto/node_modules/puppeteer/lib/BrowserFetcher.js:112:19
npm ERR!     at FSReqCallback.oncomplete (node:fs:201:21)
npm ERR!
npm ERR! Node.js v20.11.1

Expected behavior
The project installs.

Environment:

  • OS: macOS 14.2.1
  • Node: 20.11.1
  • npm: 10.2.4

Additional context
This is caused by outdated mocha-headless-chrome. Bumping it to v4 makes the project install (I didn't run the tests though).

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

1 participant