Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Expo Developer Tools is disconnected from Expo CLI." when trying to run react native project

Once I hit expo start expo runs for a few seconds but then gives me the following error:

Error: EMFILE: too many open files, watch
    at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:178:28)

I already made some research and people say I should brew install wingman. The problem is, when I try to do that I get:

Updating Homebrew...
fatal: Could not resolve HEAD to a revision
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 1 cask.

==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "wingman".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

Do you guys have any idea how I could get it running?

Best regards

like image 637
Sansibar Avatar asked Jan 16 '21 17:01

Sansibar


People also ask

How do I install react native in Expo?

Running your React Native application Install the Expo Go app on your iOS or Android phone and connect to the same wireless network as your computer. On Android, use the Expo Go app to scan the QR code from your terminal to open your project. On iOS, use the built-in QR code scanner of the default iOS Camera app.


1 Answers

I think you may have misread wingman. Try instead reinstalling watchman:

$ brew reinstall watchman

Credit where credit is due: here's a link to the forum I found this in

like image 159
saetch_g Avatar answered Oct 19 '22 12:10

saetch_g