NPM throws error_to_get_issuer_cert_locally inability to install any package behind the corporate firewall

1. Node downloaded (latest v4.6.0)

  1. Set proxy path for npm
  2. tried to install npm
  3. I got an error --- UNABLE_TO_GET_ISSUER_CERT_LOCALLY enter image description here
+4
source share
2 answers

I could not get help from google (people said downgrade to v0.x), but a colleague helped ..

npm set strict-ssl = false

That helped...

I am posting this question and am responsible for helping people who encounter the same error.

+9
source

Try using this command:

npm config set registry http://registry.npmjs.org/
0
source

Source: https://habr.com/ru/post/1656178/


All Articles