在運行react-native start 出現(xiàn)一下錯誤
ERROR Error watching file for changes: EMFILE
{"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for changes:","filename":null}
Error: Error watching file for changes: EMFILE
at exports._errnoException (util.js:1022:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1360:11)
有可能是沒有安裝watchman, 或者更新mac OS后沒有更新watchman
執(zhí)行一下以下命令安裝watchman即可
brew install watchman