.

[resolved] npm certificate issues

Receiving the following error:

npm ERR! Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN

Upgrade your version of npm

npm install npm -g --ca=""

– OR –

Tell your current version of npm to use known registrars

<code>npm config set ca ""</code>

– OR –

Disable Strict-SSL 

npm config set strict-ssl false

 

– OR –

Switch from https to http 

npm config set registry="http://registry.npmjs.org/"

 

 

What's your thoughts on this?

*

Protected by WP Anti Spam