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

canvas installation error with Node v12 #1441

Closed
KbDinesh87 opened this issue Jun 7, 2019 · 7 comments
Closed

canvas installation error with Node v12 #1441

KbDinesh87 opened this issue Jun 7, 2019 · 7 comments

Comments

@KbDinesh87
Copy link

Issue or Feature

Not able to install and rebuild canvas package

Steps to Reproduce

npm install canvas@latest

Your Environment

[email protected] C:\Program Files\nodejs\node_modules\npm
-- [email protected] -- UNMET OPTIONAL DEPENDENCY [email protected]

Node Version : v12.3.1
Elcctron : v5.0.2

@lolwhite23
Copy link

I am having the same problem with node v11.15.0, I will try another version of node to see what happened.

@lolwhite23
Copy link

Still doesnt work

@chearon
Copy link
Collaborator

chearon commented Jun 11, 2019

node 12/Windows is not supported yet, see #1420. Hopefully node-gfx/node-canvas-prebuilt#80 will fix this very soon

I don't know why 11 wouldn't work, are you using 64 bit Windows?

@lolwhite23
Copy link

Yes, and I also tried Linux and I know it should work on linux, ive done it before

@bozzmob
Copy link

bozzmob commented Oct 2, 2019

Nodejs 12 is still having installation problems. Any idea when node-gfx/node-canvas-prebuilt#80 will get merged?

@Benjamin-Willard
Copy link

I am also getting this problem with node v11.15.0 have to revert back to node v10.16.3

@zbjornson
Copy link
Collaborator

zbjornson commented Jan 4, 2020

Prebuilds for canvas v2.5.0, v2.6.0 and v2.6.1 for Node.js v12 and v13 have been available for a bit now (thanks to @chearon). If anyone's still having problems, please open a new issue.

See #1467 re: electron

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

6 participants