This error stays in relation with npm, node-gyp and Visual Studio 2015 and is already fixed in node-gyp@3.4.0, but npm is still pointing to an old version. As I workaround I can propose this:
-
Go to your folder where npm is installed, e.g.:
C:\Program Files\nodejs\node_modules\npm -
Open:
package.json -
Remove entry for
node-gypinbundleDependencies -
Bump version number to
3.4.0fornode-gypindependencies -
Make a
npm iin this directory to installnode-gyp@3.4.0to fix the problem
Relating GitHub issues can be found here:
- nodejs/node#7286
- nodejs/node-gyp#956
- npm/npm#13199
- npm/npm#13200