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-gyp
inbundleDependencies
-
Bump version number to
3.4.0
fornode-gyp
independencies
-
Make a
npm i
in this directory to installnode-gyp@3.4.0
to fix the problem
Relating GitHub
issues can be found here:
- nodejs/node#7286
- nodejs/node-gyp#956
- npm/npm#13199
- npm/npm#13200