-
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
v17 node support. #1912
Comments
compiling from source code can make it |
Check my issue. |
I was getting the following error when using node-canvas as a dependency with Node v17:
Making the following changes to my diff --git a/package.json b/package.json
index cb1e7a7..467d91c 100644
--- a/package.json
+++ b/package.json
@@ -37,11 +37,12 @@
"core-js": "^3.8.1",
"parcel-bundler": "^1.12.5",
"posthtml-include": "^1.4.3",
- "typescript": "^3.9.5"
+ "typescript": "^3.9.5",
+ "nan": "^2.15.0"
},
"dependencies": {
"bs-custom-file-input": "^1.3.4",
- "canvas": "^2.7.0",
+ "canvas": "^2.8.0",
"file-saver": "^2.0.5",
"locutus": "^2.0.11",
"rgbquant": "^1.1.2", I think this can be solved upstream by bumping the Line 51 in a4b571b
|
Prebuilds for Node.js v17, canvas 2.8.0 are now available for Linux glibc x64 and macOS x64. Windows failed to build, still looking into that. |
Prebuilds for Windows x64, node-canvas v2.8.0, Node.js v17 are now available as well. |
Please add support for node version 17+.
The text was updated successfully, but these errors were encountered: