-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
v2.11.2/canvas-v2.11.2-node-v120-darwin-unknown-arm64.tar.gz was not found for my mac m1 #2351
Comments
facing similar issue |
I'm not associated with this project or https://github.com/Brooooooklyn/canvas but I found that https://www.npmjs.com/package/@napi-rs/canvas is a great replacement for node-canvas. Instead of |
facing similar issue |
this issue is still valid |
Maybe this and the following comment helps. |
I shared the solution here #1511 (comment) for apple m1 chip |
Just for the record, I didn't install node-gyp nor did I export CXXFLAGS. Having installed Xcode, brew and the dependencies mentioned in the README should be sufficient for installing canvas on Node 20 (as I mentioned, installing on Node 21 didn't work). Can you can confirm that your procedure works on Node 21? |
I can confirm the solution worked for me on Node version 20 |
So not on Node 21? |
Please see the troubleshooting guide linked in the issue template for guidance on this.
|
Use M1 Mac and try installing library: chartjs-node-canvas.
It also depends on your library, which gives the following error:
node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v120-darwin-unknown-arm64.tar.gz
That means build for canvas library for arm64 is missing.
The text was updated successfully, but these errors were encountered: