node.js and npm has no network access in windows 7 64 bit ultimate node.js and npm has no network access in windows 7 64 bit ultimate node.js node.js

node.js and npm has no network access in windows 7 64 bit ultimate


If you are behind a corporate network which probably needs proxy configuration on node to be setup. It runs something like this

npm config set proxy http://proxy.company.com:8080npm config set https-proxy http://proxy.company.com:8080

Replace the proxy company name to whatever your network uses.


With the same OS I don't have this problem, but I already have problems downloading some packages (I wanted node mysql). In order to fix that I had to download the source from github, extract it in the node_modules repository and to rename it as "mysql".

Now I can make var mysql = require('mysql');


Maybe even try cygwin. Its a step back from both pure virtual Linux, and from getting it to run on Windows 7. Personally I have both Cygwin and Windows 7 installs of node.js on 64 bit (not ultimate though).

I just had to install node to a directory outside of 'program files' due to write protection and security settings. Still have to run the command console as administrator though to make sure all things work. Cygwin has none of these issues.