-
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
Can't upload canvas-v2.11.2-node-v108-darwin-unknown-arm64.tar.gz #2251
Comments
Same issue on an M1 Macbook and the fix doesn't work either |
Try removing |
Seems like canvas does not have prebuilt binaries for arm64 (Mac M1/M2's) See the binaries that they provide here: (I'm also searching for a solution at the moment) |
indeed the arm64 versions are not prebuilt, node gyp is installing them from source and giving this error:
|
the same with M1, |
fixed it by adding |
not working for me 😢, tried deleting yarn.lock and node_modules before too. |
i have found the answer after two days, hoping it work for you |
when I successfully installed it, I smiled. |
We need to start by knowing your version of npm: If your npm is version 7 or 8, do:
Execute these commands: |
I got the same issue. I got the following message and try to install after install eventually, |
As most of you figured out, there are no prebuilds for ARM. There's info on building from source in the troubleshooting guide (#1511).
|
thanks for your solutions, this work for me |
I also had to install
|
Thank you for providing the solution, it resolved my issue, I had to install python-setuptools. |
--Hey, guys! I also had the same issue. Maybe you can try creating a .npmrc file under the project root path, specifying the mirror address of the canvas, like this:
canvas_binary_host_mirror=https://registry.npmmirror.com/-/binary/canvas
It worked for me and I hope it helps you.
--Originally posted by @Orange-001 in #2186 (comment)
I have a new problem. I did it the way you did it. It doesn't work because
https://registry.npmmirror.com/-/binary/canvas/v2.11.2/canvas-v2.11.2-node-v108-darwin-unknown-arm64.tar.gz
doesn't exist. And my device is a Mac with M2.The text was updated successfully, but these errors were encountered: