-
Notifications
You must be signed in to change notification settings - Fork 3.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
[BUG] node-gyp fails to spawn (9.7.2 - 9.8.1) #6842
Comments
Here, the reason was that the project still has |
We got hit by this issue as well, this is a breaking change and we had to implement workarounds like:
Was this change intended to remove node-gyp from nodejs default installs? And if yes this should not not happen in a minor or patch level change, it is breaking stuff. Or is the general guideline to install node-gyp always globally manually? |
Seems like npm/cli#6842, so this may be fixed upstream at some point.
this was fixed in the latest npm 9 and 10 releases |
Hi, @wraithgar! 👋 Followed a matryoshka of issues that ultimately led me to this one. It seems something about node-gyp is unhappy in 10.2.4 but happy in 9.6.7
|
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
node fails to build, because node-gyp can't be spawned. Expect it is due to absence of bin/node-gyp-bin/node-gyp since npm 9.7.2. (bin/node-gyp-bin/node-gyp was present in 9.7.1, not 9.7.2 and after)
Expected Behavior
node-gyp is found and spawned properly
Steps To Reproduce
see nodejs/node#49737
Seperately:
Environment
The text was updated successfully, but these errors were encountered: