Can't run app in simulator


I spent more than 12 hours to solve this problem… please help

  1. I started a project using Expo XDE and I got this error from the emulator.
facebook::react::Recoverable: Could not open file: No such file or directory
  1. if I reload, emulator shows this error.
The development server returned response error code: 502


<h2>Failed to complete tunnel connection</h2>

I didn’t have any problem like this before but once I cloned a repository and install/change global npm version, I keep getting this error. (I;ve been tried many package setup from Stackoverflow but they didn’t help…!!!)

Thanks for your support!

i think it’s the problem with watchman, try this commandes :

echo 256 | sudo tee -a /proc/sys/fs/inotify/max_user_instances
echo 32768 | sudo tee -a /proc/sys/fs/inotify/max_queued_events
echo 65536 | sudo tee -a /proc/sys/fs/inotify/max_user_watches
watchman shutdown-server
watchman watch-del-all

and restart project


HOLLY COW!!! THANK YOU SO MUCH X 1,000,000,000

OMG I had to just ask here rather than googling around.

Thank you so much

1 Like