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

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

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 16 (3 by maintainers)

Most upvoted comments

I just started using expo-cli so here is what I found out.

Windows:

  1. Use the same wi-fi connection for both laptop and phone
  2. Enable the Node.js JavaScript Runtime in “Control Panel\System and Security\Windows Defender Firewall\Allowed apps” image By default, Node.js JavaScript Runtime is enabled in private network connection. So you will need to enable it in the public network connection.

Hope it helps!

@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

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

@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

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

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

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