How to clear https proxy setting of NPM?

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

    I have used the below commands for removing any proxy set:

        npm config rm proxy
        npm config rm https-proxy
    

    And it solved my problem :)

提交回复
热议问题