How to setup Node.js behind a corporate proxy -


i have installed node.js in windows machine in corporate network. have use id , password access internet through proxy server.

i have read can use npm config set proxy set proxy.

npm config set proxy http://abc\\123456:password@proxy.abc.com:6050 

i have tried , not working.

how can specify proxy details including username , password in npm??

my user name domain\username , password has special characters '!' , '@'

it's simple:

npm config set proxy http://username:password@proxy.company.com:8080 

edit: sorry didn't read special chars:

you have encode special characters. e.g. instead of this:

http://username:p@ssword@proxy.company.com:8080 

you have write this:

http://username:p%40ssword@proxy.company.com:8080 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -