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

npm ERR! path errors when installing canvas on macOS Monterey #2018

Closed
1 task
The0n1y5pace4ce opened this issue Apr 7, 2022 · 1 comment
Closed
1 task

Comments

@The0n1y5pace4ce
Copy link

Issue or Feature

When trying to install canvas using npm i canvas, a lot of errors show up in the terminal, the same thing happens for any package using canvas. errors: https://srcb.in/AMpNVpDI7X

Steps to Reproduce

install canvas on macOS Monterey using npm i canvas
// etc.

Your Environment

  • Version of node-canvas (output of npm list canvas or yarn list canvas):
    latest
  • Environment (e.g. node 4.2.0 on Mac OS X 10.8):
    node 17.6.0, macOS Monterey
@zbjornson
Copy link
Collaborator

This is covered in the troubleshooting guide:

If you have an ARM CPU

Prebuilds aren't available for ARM. Please see the wiki for guides on building from source. See also node-gfx/node-canvas-prebuilt#69.

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

No branches or pull requests

2 participants