Can't load expo app: Something went wrong

后端 未结 21 881
挽巷
挽巷 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:36

    For my case, using wireless adapter, I had to make my Network profile private. 1) Go to Properties of wireless network 2) Make network profile private

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

    What solved this for me was simply changing the connection from LAN to Tunnel. When you start an expo app, a browser window will open with a URL like http://localhost:19002/. Along the left side is a Connection option set to LAN by default. Changing it to Tunnel before scanning the QR code with the expo app solved it.

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

    In my case, expo app was outdated. I just updated expo from store and it started working.

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

    I had the same problem and I solved it by deactivating the Virtualbox internet connection, that happens because Node take that connection to start the packager.

    1. Control Panel -> Network and Internet -> Network Connections
    2. In my case is "Virtual Box Host-Only Network"
    3. Right clic on that, and Deactivate
    0 讨论(0)
  • I had the same problem and fixed it on Windows 10 by making my machine discoverable on the network:

    1. Click wifi icon in app drawer.
    2. Go to the list of wifi connections and click your connection.
    3. Click "Properties". This opens up the page associated with your connection.
    4. Under "Make this PC discoverable", turn the slider to "On".
    0 讨论(0)
  • 2020-12-14 09:40

    For me the problem was happening when running over WiFi, as the tools always use the your first connection (you can check it by running ipconfig) and my first connection was internet.

    If that's you case you may try this workaround for changing you connections priority:

    1. Go to Control Panel > Network and Internet > Network Connections
    2. Right click the desired connection (Higher Priority Connection)
    3. Click Properties > Internet Protocol Version 4
    4. Click Properties > Advanced
    5. Uncheck 'Automatic Metric'
    6. Enter 10 in 'Interface Metric'
    7. Click OK
    0 讨论(0)
提交回复
热议问题