npm ERR! Error: CERT_UNTRUSTED

npm ERR! Error: CERT_UNTRUSTED

 

Getting the above error while installing npm with below command

npm install -g npm

 

Asked on July 21, 2020 in info.

You can bypass https using below commands:

npm config set strict-ssl false

or set the registry URL from https or http like below:

npm config set registry="http://registry.npmjs.org/"
on July 21, 2020.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.