-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install error - unable to get local issuer certificate #9
Comments
One step forwardTypings can be configured with the ~ / .typingsrc config file. (~ means your home directory) After finding this issue on github: typings/typings#120, I was able to hack around this issue by creating ~/.typingsrc and setting this configuration: { After creating that file, the unable to get local issuer certificate error dissapears. |
"Missing write access" error when using npmhttps://flaviocopes.com/npm-fix-missing-write-access-error/ sudo chown -R $USER /usr/local/lib/node_modules Can't find usr directory cd /usr/local Works. |
Nodejs 4 introduces UNABLE_TO_GET_ISSUER_CERT_LOCALLY error for users behind company firewallsTRY ANOTHER TIME: @bnoordhius, yes, starting in v4.x my understanding is that we'll need to configure the cafile to include our company certificate chain. I've done that using npm like this: npm config set cafile="C:\mycacert.pem" -----BEGIN CERTIFICATE----- With the log level turned up to silly level. |
Find . -name "cacert.pem"npm config set cafile=/Path/to/your/file.pemPath to file is in the python directory? DIDN'T WORK. Reset config path to file in python directory so be careful in future. |
Reinstall NodeJS legacysudo apt-get install --reinstall nodejs npm nodejs-legacy |
Fixes Issue With Node |
https://stackoverflow.com/questions/36494336/npm-install-error-unable-to-get-local-issuer-certificate
npm config set strict-ssl false
THIS MUST BE RUN FROM INSIDE THE ASSETS DIRECTORY
The text was updated successfully, but these errors were encountered: