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
i know this is old, i actually just had the same issue. i was able to solve it by running npm install -g node-gyp
and fixed! npm
I tried the above suggested npm install --global --production windows-build-tools
but found that the installation was always hanging forever.
I managed to fix the problem by installing Node.js 8 instead of Node.js 10.
The problems here are to do with the npm node-gyp module
I found the solutions offered on the build page for that project effective.
node-gyp page on github
There's a fully automatic way and a manual way.
Just to add to the above answer, anyone finding an issue of the installers taking forever, I found my issue was python, I uninstalled both my versions 3 and versions 2.
The re-ran the command in PowerShell terminal as the admin and it installed almost straight away.
npm install --global --production windows-build-tools
1)install "lite server" and then try below command :
npm run lite
Try this from cmd line as Administrator
optional part, if you need to use a proxy:
set HTTP_PROXY=http://login:password@your-proxy-host:your-proxy-port
set HTTPS_PROXY=http://login:password@your-proxy-host:your-proxy-port
run this:
npm install -g --production windows-build-tools
No need for Visual Studio. This has what you need.
References:
https://www.npmjs.com/package/windows-build-tools
https://github.com/felixrieseberg/windows-build-tools