How to clear https proxy setting of NPM?

前端 未结 30 2317
长发绾君心
长发绾君心 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:23

    npm config delete proxy -g
    

    worked for me.

    -g was important as initially it was set with that option. You can check configurations set with :

    npm config list
    

提交回复
热议问题