Answers for "npm install not workjing behind proxy"

0

npm install not workjing behind proxy

npm config set strict-ssl false

# Set npm to use http instead of https
npm config set registry "http://registry.npmjs.org/"

# install your package with below syntax, can leave out the
# username:password section if your proxy does not require
# you to authenticate. The "http://" part is very important
npm --proxy http://username:[email protected]:80 install packagename
Posted by: Guest on September-25-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language