Skip to main content

npm - ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY

$ npm install

npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY

npm ERR! request to https://registry.npmjs.org/browserify failed, reason: unable to get local issuer certificate

npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/arahma201/.npm/_logs/2018-08-14T20_37_38_227Z-debug.log

NYSML-147071:styleguide arahma201$ npm install

npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY

npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY

npm ERR! request to https://registry.npmjs.org/browserify failed, reason: unable to get local issuer certificate

npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/arahma201/.npm/_logs/2018-08-14T21_04_16_990Z-debug.log

Solution:

npm config set registry http://registry.npmjs.org/ 
Back to top