-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
gyp ERR! on npm/yarn install #2444
Comments
Thank you for your quick answer, but i am using VNM windows . |
I'm running Volta. The suggested fix runs for npm < 7, but the same error appears when I run
|
Does it still say What does |
|
|
Current npm is 7.19.0 https://www.npmjs.com/package/npm Current node-gyp is v8.1.0. https://github.com/nodejs/node-gyp/releases v3 is out-of-date. Node-sass is deprecated. sass/node-sass#2952 |
I've upgrade npm to 7.19.0. I'm still seeing the same problem. Until a few minutes ago, I didn't know node-gyp existed. More for curiousity, how or what installed it on my machine? |
Ok. Upgraded npm to There is no sub folder
Running |
|
Thank you What a mess. For those stuck with this problem of being guilting of using older packages on your Windows development system.
At least my implementation of this problem was due to switching between numerous git branches. One of the branches was old and needed nodejs 10.x to run. My environment is now 14.x. What looked to be a Rebuilding my development environment didn't hurt but I'm going to do a bit of housekeeping to remove or migrate forward my old git branches. |
@bUxEE Can this issue be closed? |
Last night I managed to update node-gyp in the latest node version 16.x.x inside nvm folders following your directions. This did not solve the issue but by:
solved the issue |
In case someone faced, my context i was using vite with yarn, i just add to the package using the @latest tag
|
I encounter the following error, log says
npm ERR! gyp info using node-gyp@3.8.0
but if i use the command node-gyp -v v8.1.0 is displayed. How can i force npm to use the correct node-gyp version?
node v16.3.0
npm v7.19.0
python 3.9.5
Windows10 AMD64
The text was updated successfully, but these errors were encountered: