如何清除NPM以前的ssl代理设置?嗯,我搜索了很多,但我得到的所有帖子都是关于如何在企业网络中set
代理的。
我尝试将代理设置为nothing:
npm config set http-proxy
npm config set https-proxy
第一个命令传递,但第二个命令警告:
npm WARN invalid config proxy=""
npm WARN invalid config Must be a full url with 'http://'
该警告是否可以忽略,并且我已成功清除代理设置?
发布于 2014-07-23 20:18:06
上面的这些都没有帮到我,但这件事帮了我:
npm config rm proxy
npm config rm https-proxy
来源:http://jonathanblog2000.blogspot.ch/2013/11/set-and-reset-proxy-for-git-and-npm.html
发布于 2014-01-21 02:19:08
尝试使用以下命令删除它们:
npm config delete proxy
npm config delete https-proxy
发布于 2015-02-23 02:19:35
npm config rm proxy
npm config rm https-proxy
unset HTTP_PROXY
unset HTTPS_PROXY
unset http_proxy
unset https_proxy
该死的,终于在安装了privoxy (ad remover)的Debian Jessie中成功了,谢谢你:-)
https://stackoverflow.com/questions/21228995
复制相似问题