After reinstalling my machine with windows 10, setting it up with Visual Studio 2015
I encountered this error on installing my git repositories:
→ npm
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
in bundleDependencies
Bump version number to 3.4.0
for node-gyp
in dependencies
Make a npm i
in this directory to install node-gyp@3.4.0
to fix the problem
Relating GitHub
issues can be found here: