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
PLEASE FOLLOW THE FLOW CORRECTLY WINDOWS 10x64
npm install -g node-gyp
npm install --global --production windows-build-tools
For those the above answer does not work, here is another possible solution to look at.
Issue: On installing npm os-service package i was getting below error error MSB4019: The imported project "d:\M icrosoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct
Even the installation of build tools or VS 2015 did not work for me. So I tried installing below directly via PowerShell (as admin)
https://chocolatey.org/packages/visualcpp-build-tools/14.0.25420.1 Command: choco install visualcpp-build-tools --version 14.0.25420.1
Once this was installed, set an environment variable VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v140
Then installation of the package worked perfectly fine after these.
npm install --global windows-build-tools
just run this command via powershell (right click and run as administrator!)
worked for me..
For me worked install the component "VCBuild.exe", just dowload the wizard, install and them open the cmd again as administrator and try run again. Updated link to dowload the wizard here
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