Search code examples
androidreact-nativemobileexpoandroid-emulator

expo app not running on dev build:unexpected end of stream EXPO


I'm encountering an issue when running my Expo development environment with the command npx expo start --dev-client. The command executes without any apparent problems, but when I try to access my development app, I receive an "unexpected end of stream" error at my designated IP address.

Here's a screenshot of the error message:

enter image description here

In an attempt to troubleshoot the issue, I altered the port by executing npx expo start --dev-client --localhost --port 8000, but this did not resolve the problem. Could anyone please provide some guidance on what might be causing this error and suggest potential fixes


Solution

  • i've solved this using:npx expo start --dev-client --tunnel --clear (the clear flag is not necessary)