Closed
Description
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:
- Installed VS community 2017
- Installed VS Build tools 2017
- Installed NVM
- Ran nvm install 12.12.0 then nvm use 12.12.0
- Did a npm install –global windows-build-tools from administrator Powershell
- Did an npm config set msvs_version 2017
- Did an npm install –g node-gyp
- Did an npm install –g nw-gyp
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!