Sansibar
Sansibar

Reputation: 121

"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

Upvotes: 12

Views: 7085

Answers (3)

Alexandr O
Alexandr O

Reputation: 1

I encountered the same issue And in my case, I just had to install Brew and Watcher

Upvotes: 0

jjsot global
jjsot global

Reputation: 1

Update your Expo CLI.

npm i expo-cli -g

Upvotes: 0

saetch_g
saetch_g

Reputation: 1505

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

Upvotes: 20

Related Questions