Mathias Sjöberg Mathias Sjöberg - 4 months ago 44
Node.js Question

npm install error - MSB3428: Could not load the Visual C++ component "VCBuild.exe"

I'm trying to use the

npm install steam

but I am getting an error saying


I'm not sure how to fix this and I have gotten this on two different npm install thingies. I can install some however.

What I have tried:
Install whatever dependencies it needs. (ursa, node-gyp etc)
Install Visual C++ 2005.
Install Visual C++ 2010.
Change the enviroment variable path to /VC/ (found on another StackOverflow thread/question.
Googled, googled & googled.

I also get an error trying do:

npm install ursa

The error is:


If anyone could help me out, thanks in advance.


I know it's a very old question, but is the first in my google search and after some time I got how to solve this.

find node on your windows with
$ npm install -g which
$ which node
after cd into the directory, inside the directory cd into node_modules\npm folder and finally:
$ npm install node-gyp@latest
here worked, the answer is from this site