Raju
Raju

Reputation: 11

request to https://registry.npmjs.org/expo-template-blank failed, reason: connect ETIMEDOUT 104.16.21.35:443

I am getting this error while trying to install expo init rn-first-app.

can you please help me here.

Upvotes: 1

Views: 5203

Answers (3)

Allen Koch
Allen Koch

Reputation: 174

Sometimes you may behind the proxy, Try following methods.

  1. You have to set your proxy in the environment variables as this image. windows env setup image

  2. Then set your proxy using following two commands.

    npm config set proxy http://proxy-server:port

    npm config set https-proxy http://proxy-server:port

Upvotes: 1

Agions
Agions

Reputation: 21

you can try this way

npm config set strict-ssl false

and then

expo init rn-first-app

Upvotes: 2

Mohamed Raza
Mohamed Raza

Reputation: 963

Reason 01: make sure that your development device is connected to internet Reason 02: make sure you have installed npm install expo-cli --global

Try again by reconnect to internet

Upvotes: 0

Related Questions