Open vitorvillaras opened 3 years ago
I'm also having problems on OSX: Error: 404 status code downloading tarball https://github.com/chearon/node-canvas-prebuilt/releases/download/v2.0.0-alpha.14/canvas-prebuilt-v2.0.0-alpha.14-node-v72-darwin-unknown-x64.tar.gz
@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