-
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
canvas installation windows failed #1955
Comments
The prebuilds failed to install because you're using 32-bit Node.js. Are you able to use 64-bit? A user contributed the Chocolately instructions and, as noted in the wiki, others have reported that they have issues, see #843 in particular. |
I'm using 64-bit, and follow the instructions on https://github.com/Automattic/node-canvas/wiki/Installation:-Windows and https://github.com/nodejs/node-gyp#on-windows still having the same result. Removing package lock and reinstall npm doesn't help either. Is there no solution so far? |
@forvy if you're trying to use Node.js v18, we don't have prebuilds working for that yet. If you open a new issue with the info in the template, I can help more there. Closing this since it's old and no followup from original poster. |
Any news on how to install it into node 18? |
@paivaric Node 18 prebuilds have been available for a while, it should just work. Please open an issue if you're running into problems. |
Hello, I followed the installation via Chocolatey, and after the installation of via chocolatay I rebooted then installed GTK 2 and put in C:\GTK, then when I run
npm install canvas
, I have this error, I have well node-gyp installed.The Chocolatey installation:
PS: I also did the manual instation
My Environment
The text was updated successfully, but these errors were encountered: