How to clear https proxy setting of NPM?

前端 未结 30 2333
长发绾君心
长发绾君心 2020-11-29 14:59

How can I clear the previous ssl proxy setting of NPM? well, I search a lot, but all post I got is mainly about how to set proxy in corporate network.

30条回答
  •  情书的邮戳
    2020-11-29 15:38

    Nothing above worked for me. I had to edit the file ".npmrc" which will be under user home directory (ex: c:\users\abcuser) :

    http_proxy=null
    registry=https://registry.npmjs.org/
    strict-ssl=true
    proxy=null
    

提交回复
热议问题