Skip to content
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

Error: unable to get local issuer certificate #379

Closed
nbarbettini opened this issue May 23, 2019 · 2 comments
Closed

Error: unable to get local issuer certificate #379

nbarbettini opened this issue May 23, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@nbarbettini
Copy link
Contributor

Depending on the local environment, some users get this message when running yarn [install]:

error An unexpected error occurred: " [...] unable to get local issuer certificate".

This happens when the local machine is configured to use a cafile that overrides the system/default CA. For example, when a local root CA is trusted for internal packages.

@nbarbettini nbarbettini added the bug Something isn't working label May 23, 2019
@nbarbettini
Copy link
Contributor Author

What I've seen work is:

mv ~/.npmrc ~/.npmrcbk

Then, after you are done working with this repo:

mv ~/.npmrcbk ~/.npmrc

This is just a temporary solution, we're searching for a better one 🙂 Related to: yarnpkg/yarn#6578

@dogeared
Copy link
Contributor

moved to: https://oktainc.atlassian.net/browse/OKTA-355455

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants