dreamhouse-mobile-react
dreamhouse-mobile-react copied to clipboard
Server start fails under MaxOS Sierra
Server start fails under MaxOS Sierra due to this error:
(FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22) 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:1026:11) at FSEvent.FSWatcher._handle.onchange (fs.js:1406:11)
More information available here: https://github.com/facebook/react-native/issues/10028
Here is how to fix it:
- install Homebrew if it is not yet installed
- install Watchman with this command:
brew install watchman