-
Notifications
You must be signed in to change notification settings - Fork 31
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
Compatibility with Node version 12 #123
Comments
I'm also having problems on OSX: |
@vitorvillaras releases before 2.7.0 are listed here: https://github.com/node-gfx/node-canvas-prebuilt/releases. Canvas 2.7.0 and later will be served from Automattic/node-canvas (https://github.com/Automattic/node-canvas/releases/tag/v2.7.0). There's a table here https://nodejs.org/en/download/releases/ that shows the NODE_MODULE_VERSION for each Node.js version. For Node.js 12, that's 72, so you'd be using canvas-vX.Y.Z-node-v72-win32-unknown-x64.tar.gz. If you see that file in the releases page, that means it should be work. The changelog also lists if a change was made to support a new version of Node.js. @jobelenus that's a very old release that doesn't have Node 14 support. Can you try a recent release (2.6.1)? |
Hi,
The issue #78 has been closed but I cannot install a canvas-prebuilt with node 12.
The current version of node i am using is 12.16.0 for windows.
Could you explain a bit better the mapping between canvas and canvas-prebuilt versions and the dependency of each to node?
I could install with version 10.16.x but not with 12.16.x.
Thanks
The text was updated successfully, but these errors were encountered: