Whenever I start working with NodeJS and try to install packages using npm install into new system. I always encounter this error:
npm ERR! Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN
You always encounter this error once in a lifetime when you begin your work with Node.Js+NPM. To resolve this error, you can run below command into Node.js command prompt and then you are feel free to install any package you want.
Root cause:
You’re in an environment with an intercepting HTTPS proxy, which is likely stopping npm.
Solution:
npm config set strict-ssl false
3 comments