-
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
node-gyp version issue #2354
Comments
Thank you very much for the link! Unfortunately I have the same error. This is what I did:
C:\Users\r.foss>node -v C:\Users\r.foss>where node C:\Users\r.foss>node-gyp -v C:\Users\r.foss>npm node-gyp -v
So the same apparent node-gyp bug with the odd version number being discovered. Thanks again for looking at this issue, much appreciated! PS D:\Git-Repos\ImmerGo-Demo\immergo-demo> npm install
D:\Git-Repos\ImmerGo-Demo\immergo-demo\node_modules\midi>if not defined npm_config_node_gyp (node "C:\Users\r.foss\AppData\Roaming\nvm\v12.12.0\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\r.foss\AppData\Roaming\nvm\v12.12.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: |
Hmm, the instructions in the Wiki for Windows are a bit wrong. Those instructions use the To update
Also:
That is the version that actually gets run when doing an (I suspect |
Thanks again for comments. After doing a: |
Can this issue be closed? |
Apologies for the slow reply - from my side, yes, it can be closed. |
Thanks for this opportunity to report an issue!
I have been using node-gyp on Mac and Windows, and am currently experiencing a problem in Windows. I have:
When I do an npm node-gyp -v , I get the version as 6.11.3
On doing an npm install in VSCode, I get the following within the terminal output:
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\r.foss\AppData\Roaming\nvm\v12.12.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Git-Repos\ImmerGo-Demo\immergo-demo\node_modules\midi
gyp ERR! node -v v12.12.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! This is a bug in
node-gyp
.I can't understand why the error is occurring, and also why the node-gyp version is indicated as 5.0.3 ?
Any help would be much appreciated, thanks!
The text was updated successfully, but these errors were encountered: