npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY

This error we got when we will try to install Angular CLI using npm. We got a solution for this and in this post, we provide the solution with screenshots.

Problem/Issue


Solution

Just type the below command in cmd:
npm config set registry http://registry.npmjs.org/
Read more about this solution at https://stackoverflow.com/questions/45884752/npm-err-code-unable-to-get-issuer-cert-locally.

Reference

https://stackoverflow.com/questions/45884752/npm-err-code-unable-to-get-issuer-cert-locally

Comments