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.
set
By the default value npm is looking for packages from https://registry.npmjs.org. What you also need to do is override the registry and strict-ssl values.
npm
https://registry.npmjs.org
registry
strict-ssl
npm config set registry "http://registry.npmjs.org" npm config set strict-ssl false