-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Install error #1825
Comments
Please see #1511: prebuilds aren't available for ARM CPUs, so you need to build from source (https://github.com/Automattic/node-canvas/wiki#installation-guides). |
worked in ubuntu (AWS ec2) |
Thanks @josephEncheckal , that worked. |
Using Apple M1 here, installing the dependencies with brew install pkg-config cairo pango libpng jpeg giflib librsvg Thanks! 🎉 |
thanks to @omergulen and the link
fixed it |
How this work with alpine images? getting similar issue while using pdfjs-dist:
Actually this canvas is not getting installed in alpine images:
|
M2 apple silicon |
Running
|
Using Apple M2 here, installing the dependencies with brew as the following, from the link you've given solved the issue for me, which I was getting on npm install on another project.
|
I think I just find a way out of it, so I notice my log said and so I tried to change my node version into v16.20.2 (i'm using nvm btw) and I change my python version that's being use globally. So on my mac I have python v3.12.2 installed from brew and then I installed goodluck guys! |
Noting this for reference for others: If your company has strict VPN security it could cause this error to pop up. I would contact your security and get an exception or disconnect from VPN and try |
MacOS Sonoma 14.5 failed After digging in the error log, root cause were errors similar to Solution was: export SDKROOT=$(xcrun --show-sdk-path)
npm install canvas |
I was trying to install the node canvas and happened a error
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v83-android-unknown-arm.tar.gz
Help me pls
The text was updated successfully, but these errors were encountered: