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.
This was already answered but I think the --global
config is not covered properly.
By running npm config rm proxy
you remove proxy from user configuration.
This can be easily verified by running: npm config list
.
If there is proxy
or https-proxy
setting set in global config you have to use --global
in the command to remove it.
So at the end this will clean-up proxies from both local and global configs:
npm config rm proxy
npm config rm https-proxy
npm config --global rm proxy
npm config --global rm https-proxy