Skip to content
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

Need prebuilds for Node.js v12 #1420

Closed
syuilo opened this issue May 11, 2019 · 8 comments
Closed

Need prebuilds for Node.js v12 #1420

syuilo opened this issue May 11, 2019 · 8 comments

Comments

@syuilo
Copy link

syuilo commented May 11, 2019

When npm i canvas, got Cannot open include file: 'cairo.h' error.

Your Environment

  • Windows 10
  • Node.js 12.1.0
@syuilo
Copy link
Author

syuilo commented May 11, 2019

Also there is 404 warn:

node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v72-win32-unknown-x64.tar.gz

@syuilo
Copy link
Author

syuilo commented May 11, 2019

Probably related to node-gfx/node-canvas-prebuilt#78

@LinusU
Copy link
Collaborator

LinusU commented May 13, 2019

Until precompiled binaries are available, you can use the installation instructions here: https://github.com/Automattic/node-canvas/wiki/Installation%3A-Windows

@dom-k
Copy link

dom-k commented May 15, 2019

Have you installed this: https://www.cairographics.org/download/ ?

@syuilo
Copy link
Author

syuilo commented May 15, 2019

Thank you!
Yeah, I know how to install it manually, and I succeeded in installing it that way.
However, it was inconvenient, so I created this issue.

@chearon
Copy link
Collaborator

chearon commented May 15, 2019

appveyor/ci#2921

I still can't get their Update-NodeJsInstallation (Get-NodeJsLatestBuild 12) command working so we just have to wait on that issue for now

@zbjornson zbjornson changed the title Install error Need prebuilds for Node.js v12 Jun 10, 2019
@zbjornson zbjornson pinned this issue Jun 10, 2019
@NightScript370
Copy link

Node.JS 12 is available on AppVeyor environment!

@chearon

@chearon
Copy link
Collaborator

chearon commented Aug 5, 2019

MSYS issue finally fixed, see node-gfx/node-canvas-prebuilt#78

@chearon chearon closed this as completed Aug 5, 2019
@zbjornson zbjornson unpinned this issue Aug 27, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

6 participants