Skip to content

Project doesn't install on arm64 #33

@IlyaSemenov

Description

@IlyaSemenov

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://git@github.com/feross/buffer.git
npm WARN deprecated babel@6.23.0: 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 puppeteer@4.0.1: < 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions