Reputation: 11
I am getting this error while trying to install expo init rn-first-app.
can you please help me here.
Upvotes: 1
Views: 5203
Reputation: 174
Sometimes you may behind the proxy, Try following methods.
You have to set your proxy in the environment variables as this image. windows env setup image
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
Reputation: 21
you can try this way
npm config set strict-ssl false
and then
expo init rn-first-app
Upvotes: 2
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