-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expo Time out, no manifest in cache #598
Comments
I had the same issue using |
I think this has something to do with the network and virtual host. I have a virtualbox host besides my wifi connection. So what's currently happing is when I use npm start it uses the virtualbox host instead of the wifi connection. So basically they are using different network thus expo can't connect to the app. One solution that I did was to disable the virtual host network the do npm or yarn start. Another is change some network settings as stated in #60 (comment). This solved the problem in my case, but a better approach will be much appreciated. 😃 |
@thebakerdev fantastic, thanks! That solves the problem for me. Although actually I don't have Virtual Box installed but I had a couple of other old VPN network connections. I deleted both of those and followed the steps in the #60 comment. I probably didn't need to do both. One thing I noticed that changed was the IP switched from something like 10.8.0.14 (didn't work) to 192.168.1.7 (now works). |
Hi! Sorry you're having issues with this. Unfortunately this is a common problem on Windows, and the main way we can work around it without having a lot of fragile logic for retrying all network interfaces is to provide these troubleshooting instructions in the generated project's README. Please post back if that's still not working for you though! |
I had this same issue, while running a few Docker instances. The trick is to ensure that the IP address that the packager sees is the one that's associated with your WiFi adapter. Quick Solution@jimmylee had an excellent solution that I've included below.
Best SolutionYou could also change the 'Automatic metric' value for all your network adapters so that the WiFi adapter has the lowest value (highest priority). This is probably the best solution. Full credit to @Himujjal for this. Check out his detailed answer here. |
Also a problem on macOS, and an issue is open on the Expo client repo - it seems that 2.3.1 and 2.3.2 are affected. |
I have tried all proposed Solutions, Upgrade, Downgrade, set Environment Variables, Disable Virtual box and so on. Only thing that worked for me was changing my computer and mobile IP addresses. |
I started from a fresh create-react-native-app on Ubuntu Linux 4.4.0. When I run ifconfig, my Wireless network indeed shows up as the last interface. In my browser, I can open http://192.168.1.9 (my wireless IP) and I see a manifest. So I ran "REACT_NATIVE_PACKAGER_HOSTNAME=192.168.1.9 yarn start" but I only get a timeout. Here's the actual manifest:
I do notice that hostType is set to "tunnel". Wny not "lan"? Isn't tunnel for working with an emulator? What's especially puzzling is that this was all working on my Linux box earlier today. I had my wifi disconnected on my Linux box and I was connecting to my phone over 192.168.1.4 which is my wired Ethernet connection to my router, while I had my phone plugged into the USB port in debug mode. (It doesn't matter, because my phone can reach the wired IP over the Wifi router). All was going well. I could see debug messages in the console. Then it stopped working and I don't know what changed. |
The issue is still here |
I spent several hours trying to fix it, and I have still not a single clue. I run React-Native with Expo on Gentoo/Linux. The bug appears with no apparent reason, sometimes on a fresh project, sometimes not. I tried the |
My issue was not related to |
I tried a lot of things, I don't know which one fixed this issue. I ran into multiple random issues (sometimes this one: facebook/react-native#15025), and tried downgrading I will follow any details if I run into this issue again. |
I have been getting this error recently. A quick workaround - going to the project directory and running "exp start" and using expo via the command line. Seems to work fine without any issues this way for me. |
Run cmd as administrator and set |
Description
Created a project using the create-react-native-app then scanned the QR code using an android phone but I get a timeout error on expo app. There was an unhandled error: Timed out, no manifest in cache
Expected Behavior
Create a project using create-react-native-app and run npm start
Scanned the QR code
It's supposedly built the project on my phone
Observed Behavior
I get this error on the expo at without a stack trace: There was an unhandled error: Timed out, no manifest in cache
Environment
Please run these commands in the project folder and fill in their results:
Windows 10
Samsung Phone
The text was updated successfully, but these errors were encountered: