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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -