Error: EMFILE: too many open files - React Native CLI
Just close all other files and try again. If you are running on android make sure to run cd android
and ./gradlew clean
before react-native run-android
.
If this doesn't fix, there might be problem with your file watching service. Try this
$ brew update
$ brew install watchman
I'm using a Mac and got the EMFile error. It was resolved when I installed the file watcher
brew install watchman