Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Expo Login is failing with error #2363

Closed
MaheshaBhat opened this issue Jul 15, 2020 · 8 comments
Closed

Expo Login is failing with error #2363

MaheshaBhat opened this issue Jul 15, 2020 · 8 comments

Comments

@MaheshaBhat
Copy link

MaheshaBhat commented Jul 15, 2020

I am trying to execute expo login, but I am getting "unable to get local issuer certificate" error.
I am using expo SDK: 38.0.0.
all expo commands are failing.
what should I do to fix this problem?

@cruzach
Copy link
Contributor

cruzach commented Jul 15, 2020

What version of expo-cli are you using?

@cruzach cruzach transferred this issue from expo/expo Jul 15, 2020
@MaheshaBhat
Copy link
Author

I am using 3.22.3

@brentvatne
Copy link
Member

can you share the exact error message?

@brentvatne
Copy link
Member

nodejs/node#3742

this is a node issue, you can run npm config set strict-ssl false to resolve it, but i'd suggest reading over the thread to be familiar with alternatives and what that actually does

@MaheshaBhat
Copy link
Author

i tried npm config set strict-ssl false command, still I am getting the same error.
I am getting following error "Error: unable to get local issuer certificate."

@brentvatne
Copy link
Member

please create a new issue and follow the issue template (the text that is provided in the comment box when you create a new issue).

@MaheshaBhat
Copy link
Author

MaheshaBhat commented Jul 15, 2020

ya sure will do.
i didn't face any problem while using any of the npm commands.
but while using expo start i got following warning:
Warning: Problem validating app.json: Unable to perform cache refresh for ....\.....\schema-37.0.0.json: Error: unable to get local issuer certificate.
for expo login i got following error:
unable to get local issuer certificate.

@MaheshaBhat
Copy link
Author

MaheshaBhat commented Jul 16, 2020

Hi,
after executing the following commands i was able to resolve this issue.
npm config set strict-ssl false
and
SET NODE_TLS_REJECT_UNAUTHORIZED=0
thanks for the help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants