Issue installing npm on my Win7 Machine
Problem
I am trying to install the WEINRE on my win7 machine as per the instruction given in this link http://forums.adobe.com/docs/DOC-2623
Note: I might be behind a firewall.
- I installed node.js and
- then I tried to install weinre via npm. This fails with the following error
Please help me in installing weinre so that i can go on.
Thanks in advance for any help.
Solution
There are several things you can do to find out the problem:
- do an nslookup of registry.npmjs.org to find out if the address can be resolved
check your network settings to find out if there is a proxy configured If so, configure npm to use the proxy. This is how you can do this:
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
Credits go to https://stackoverflow.com/a/12832637/52568.
Discussion
View additional discussion.