-
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
install error with node 18.9.0 #2257
Comments
node-canvas may not be compatible with Node 18 due to the lack of pre-compiled builds available for this particular version of Node.js. In a comment by one of the node-canvas package contributors, it was mentioned that there were no pre-compiled builds available for Node 18 at that time (source: #2052 (comment)). Until pre-compiled builds are available for Node 18, you will need to install canvas using node v17. To do so, uninstall node v18 from your system and install node v17.9.1 (here is the link to install this version for x64 windows: https://nodejs.org/download/release/v17.9.1/node-v17.9.1-x64.msi) |
i cant use canvas in pdf-transform modul i see this problem `node:internal/modules/cjs/loader:1280 Error: The specified procedure could not be found. |
I am facing the similar issue. I even tried installing node v17. Bust still it did not help.
|
same error on our ubuntu oracle server tried with node 20 19 and 18 no change, but it installs with node 20 on my manjaro development machine update: run this before installing |
I am using Mac OSX with M1 Chip and I was not able to install dependencies and also not able to run unit tests because of that. After trying several solutions, I found out the cause, it was homebrew that was not configuring pkg-config properly after installing it. So what solved was to use Mac Ports to install pkg-config and pango: and wait for long 40 minutes, I can finally install everything properly on the project and no more canvas errors showing up and I can finally run unit tests again :) thank god. i spent 1 week trying to solve that one. |
Issue or Feature
Your Environment
The text was updated successfully, but these errors were encountered: