Create-react-native-app: Expo app - can't load project with message : This is taking much longer than it should...

Created on 29 Mar 2018  路  9Comments  路  Source: expo/create-react-native-app

I have

  • installed Node 8.11.0 on Windows 8
  • installed npm install -g create-react-native-app
  • created successfully a test project
create-react-native-app AwesomeProject
cd AwesomeProject
npm start

  • installed expo client app on my iphone 5s, iOS 9.2
  • sent the app url using email to my phone

I

  • connect my iphone on the same network of my windows machine (wifi)
  • click on the link contained in the email message
  • accept to open the link in the Expo app
  • the Expo app tries to launch the procjet but gets stuck givin this message

This is taking much longer than it should. You might want to check your interenet connection

  • Expo app crashes
    It seems like the project is too heavy to be loeaded in the app, due to the list of node_modules installed.

How can i solve this problem?
I am stuck in development.

img_8410

moving-to-expo-cli

Most helpful comment

@Azambadar I faced the same problem. Turns out I was creating a "LAN" connection on the desktop expo server. Switching to "Tunnel" solved it for me

All 9 comments

you need to be on the same wifi network and that wifi network cannot be a public network (eg: restaurant, cafe, school) that is behind a NAT. if this is the case then you will have to use a simulator

i am on the same wifi network, and it is not a public one. it is my private house wifi

copy the url to your phone and open it in safari or chrome, let me know what you see

@brentvatne i tried to open the url on safari (eliminating the prefix exp://) : the browser gets no response back (message : "safari cannot open the page cause the server stopped answering")
Do you think is there any firewall setting on the house router, blocking that port?

thanks a lot in advance

I tried to use the iphone as hotspot, connecting my windows pc to it, but i got the same problem.

edit
_looks like it's the firewall installed on the machine, in my case ZoneAlarm.
I have disabled it and now i do not receive that error message.
Still i cannot see my project but this is may due to other problems.
As soon as i will have the enviroment working, i will post here the steps i did to get the result.
Thanks_

thanks for the followup @RomanSurface! i'd also recommend updating the version of react-native-scripts in your project -- npm i [email protected] --save -- this fixes a small bug (that may or may not impact you) with loading projects that have spaces in the project path

I m having the same problem, turned off firewall and done all troubleshotting but still project is not opening in expo app

@Azambadar I faced the same problem. Turns out I was creating a "LAN" connection on the desktop expo server. Switching to "Tunnel" solved it for me

Hi @manu-dikzit , my wifi connection was not supporting expo and expo worked fine with mobile phone hotspot.

same problem can't able to open

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anp picture anp  路  3Comments

witbybit picture witbybit  路  4Comments

liyanxi picture liyanxi  路  3Comments

andyvanosdale picture andyvanosdale  路  3Comments

Hareesh007 picture Hareesh007  路  4Comments