-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
unable to install node-canvas on mac os 15.0(sequoia) #2433
Comments
Same problem here, given the last release date and previous issues - maybe it's time to deprecate the module? |
@cmahnke uninstalling & installing back xcode command line tools worked for me for now. sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
|
Thanks @satyajitnayk for the hint. It works for me too |
@satyajitnayk I've tried this with macOS 15.0.1 (sequoia) and nodejs v22.8.0 but no luck. I've still got the same issues.
|
@pedrokohler Have you tried installing it using node 20 LTS instead of 22? |
@alvis it did not work either. I think I'll have to rollback to macOS version 14 |
I ran into a similar issue and the following fixed this for me on Mac OS 14.7:
I was then able to successfully install |
|
I'm getting the exact same errors -- I've been running node canvas for years until prior versions of OSX (sometimes with a little fiddling around node versions or brew packages), but this is the first time I've been totally blocked from using it. |
same issue for me. Mac OS 15.0.1
|
Did the uninstall/reinstall of xcode, but ultimately downgrading to node 20 solved the issue ( |
For me, downgrading from node v20.15.1 to node v18.20.4 worked. |
MacOs 15.0.1 Sequoia, Node 22.11.0 and still the same error as @pedrokohler. Any solution for that?? I tried all previous suggestions... Thanks!! |
@ivanfernandez2646 |
Issue or Feature
Steps to Reproduce
getting node-gyp error when installing canvas on latest mac version. node version
v20.10.0
Your Environment
npm list canvas
oryarn list canvas
):The text was updated successfully, but these errors were encountered: