Skip to content

node-gyp version issue #2354

Description

@RichardFoss

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:

  1. Installed VS community 2017
  2. Installed VS Build tools 2017
  3. Installed NVM
  4. Ran nvm install 12.12.0 then nvm use 12.12.0
  5. Did a npm install –global windows-build-tools from administrator Powershell
  6. Did an npm config set msvs_version 2017
  7. Did an npm install –g node-gyp
  8. 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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions