Nodejs替代理npm设置代理

Nodejs为代理npm设置代理为npm设在代理npm config set proxyhttp://192.168.1.1:8080?为npm默认选择htt

Nodejs为代理npm设置代理

为npm设在代理

npm config set proxy="http://192.168.1.1:8080"

?

为npm默认选择http方式,不选用https

npm config set registry http://registry.npmjs.org