Can't load expo app: Something went wrong

后端 未结 21 883
挽巷
挽巷 2020-12-14 09:25

I\'ve created an expo app with exp init MyApp command and started it by running exp start in MyApp directory.

Then I\'m scanni

相关标签:
21条回答
  • 2020-12-14 09:40

    I solved it by deactivating it, although you could also open port 19000, which is used by Expo.

    0 讨论(0)
  • 2020-12-14 09:42

    In my case, I had "host" set to 'localhost' in the XDE - which of course won't work on my physical device ;-) So, if you want to debug on a physical device, make sure your host is set to LAN instead. (Tunnel would work too, but would make debugging painstakingly slow)

    0 讨论(0)
  • 2020-12-14 09:44

    For anyone that using ESET firewall, you have to go into firewall rules and allow ports 19000,19001,19002, Advanced->Rules->Edit, on General tab select Direction->Both, Action->Allow, then visit Local tab and on port field add the mentioned ports above, click ok. Do this action for every port you need to add.

    0 讨论(0)
  • 2020-12-14 09:45

    In my case, the issue was fixed by doing the following on my Android (Galaxy Note 5):

    1. Go to Settings > Apps > Application Manager > Expo
    2. Scroll down to Draw over other apps and toggle it off and then on again
    3. Close out of everything, re-open expo, and try connecting

    It still threw an issue once before working perfectly upon further tries.

    0 讨论(0)
  • 2020-12-14 09:47

    Uninstalling and reinstalling expo on my Mac cleared this for me. Expo was complaining about being out of date.

    0 讨论(0)
  • 2020-12-14 09:50

    For me, expo wasn't started. So expo start in VS Code terminal solved it.

    0 讨论(0)
提交回复
热议问题