node.js - install express using npm install in windows 7 -


i getting following error. because behind network proxy. kindly tell me how install npm modules when 1 behind proxy.

d:\nodemva-master\nodemva-master\07_basicexpress>npm install -g express npm err! windows_nt 6.1.7601 npm err! argv "c:\\program files\\nodejs\\node.exe" "c:\\program files\\nodejs\\ node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "express" npm err! node v4.2.1 npm err! npm  v2.14.7 npm err! code enotfound npm err! errno enotfound npm err! syscall getaddrinfo  npm err! network getaddrinfo enotfound registry.npmjs.org registry.npmjs.org:443  npm err! network not problem npm npm err! network , related network connectivity. npm err! network in cases behind proxy or have bad network settin gs. npm err! network npm err! network if behind proxy, please make sure npm err! network 'proxy' config set properly.  see: 'npm config'  npm err! please include following file support request: npm err!     d:\nodemva-master\nodemva-master\07_basicexpress\npm-debug.log 

try 1 of these:

http proxy: npm config set proxy http://proxy_host:port

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


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -