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.
Look at the installation instructions for node-gyp: https://github.com/TooTallNate/node-gyp - you can't just npm install node-gyp
. I see you've installed Visual C++, but there's more to it.
What version of windows do you have? If I knew that I might be able to tell you which part of the node-gyp instructions you didn't do, but check them out and you should be able to figure it out. I've gone through a bit of pain for this stuff too.
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
Tried npm install mongoose --msvs_version=2012, if you have multiple Visual installed, it worked for me
I got the same error on Windows and this article helped me to solve this: https://atom.io/docs/v0.186.0/build-instructions/windows