if you are getting below error while installing npm or any other component using npm
npm ERR! code SELF_SIGNED_CERT_IN_CHAIN
npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN
then a quick solution:
Run this command
npm config set strict-ssl false
it will solve this issue. but if you want to use SSL then please upgrade your npm then allow it from proxy server or firewall.
then execute this command:
npm config set registry="http://registry.npmjs.org/"
happy testing.
Comments
Post a Comment