-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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 gatsby-transformer-sharp #19709
Comments
You have an issue with In your logs it says
You might find more help in https://github.com/nodejs/node-gyp, or even in this thread: nodejs/node-gyp#1753 Make sure you have all the requirements for Before following the above links or trying anything anyone recommends, do read through it all first and try to understand what the commands are doing. Debugging node-gyp issues on Windows is a real pain and sometimes you can hurt yourself by copy and pasting things from a random Github issue :) |
I was hoping there is something package-specific going on. I will pull out my hair with node-gyp for a while. |
I tried again with yarn. Yarn successfully installs the package, npm does not. |
Description
My env:
Windows 10 Pro
npm version 6.13.1
node version 13.2.0
I have proper windows build tools setup.
Steps to reproduce
npm i --save gatsby-transformer-sharp
Expected result
Package installs.
Actual result
After a bit of looking around... can the case be older sharp version dependency? Maybe 0.21.3 doesn't have prebuild binaries for my Node version. Not sure why 0.21.3 is being requested anyway, because after looking at gatsby-transformer-sharp package.json, there is ^0.23.2 specified. I am a bit lost.
The text was updated successfully, but these errors were encountered: