-
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
Unable to install canvas #1663
Comments
same error. |
That log shows it's falling back to building |
There are two issues there. The first is failing prebuild downloads, which is the top part of #1511: Installation fails with Node.js v12.16.3 and laterThis is due to an upstream issue in the module that downloads prebuilds: tomas/needle#312. That issue is fixed and node-canvas has been updated to use it, but we're currently stuck trying to make prebuilds. Workarounds:
The second is this
Not sure why that's an error, but try deleting your node_modules and trying again. Make sure you've follows the instructions for building from source that @Pomax linked to above. |
Deleting |
how to build for alpine linux: see #1486 |
I had the same issue too, Unable to solve my problem... |
Note that this issue got closed as resolved in September 2020, so you probably want to file a new issue with all the details that explain your particular setup, and steps to reproduce, if this is going wrong for you? |
i have the same error but i use macboook air M1 |
Filing an issue to who?? |
Not "to", just file a new issue over on https://github.com/Automattic/node-canvas/issues/new and describe your exact setup with STR, since this issue is closed. Maybe you've run into a regression, maybe you've run into a completely different bug or wrong behaviour, but commenting on a closed issue doesn't really surface the fact that there might be something to look at for anyone. |
if you are using ##docker on your project do not waste your time fixing |
I'm unsure why but when I tried the
npm i canvas
it isn't working at all. I'm getting a huge error.Issue or Feature
Unable to install canvas
Steps to Reproduce
Your Environment
The text was updated successfully, but these errors were encountered: