nodejs “npm ERR! code SELF_SIGNED_CERT_IN_CHAIN”

If you face "nodejs “npm ERR! code SELF_SIGNED_CERT_IN_CHAIN”" error, execute the below command

npm set strict-ssl false


This will disable strict ssl-mode and you will not get the error.

No comments:

Post a Comment