-
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
Canvas installation failure with Node v20.12.1 #2374
Comments
I'm able to install on Node 20.12.2 on macOS 14.4.1 with an Apple Silicon chipset: brew install pkg-config cairo pango libpng jpeg giflib librsvg pixman [email protected] rm -rf node_modules npm install If you don't have the |
Thanks Trevor for replying, I did brew install pkg-config cairo pango libpng jpeg giflib librsvg pixman [email protected] |
Unfortunately I have the same error while trying to install Node I've tried to run the below commands but with no success. After those packages are installed and I remove I tried with: Output:
Actual
|
Solution that definitely solved the problem for us, just run the npm install or yarn inside python environment:
|
Issue or Feature
Getting this error only in node version of 20 above works fine with LTS version 18.20.1
Steps to Reproduce
Your Environment
npm list canvas
oryarn list canvas
): installing latest 2.11.2The text was updated successfully, but these errors were encountered: