My-MacBook-Pro:MyProject User$ sudo npm start
React packager ready.
Loading dependency graph...2018-04-20 09:08 node[59306] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2018-04-20 09:08 node[59306] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2018-04-20 09:08 node[59306] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2018-04-20 09:08 node[59306] (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 _errnoException (util.js:1022:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1359:9)
Loading dependency graph...npm ERR! code ELIFECYCLE
npm ERR! errno 11
npm ERR! MyProject@0.0.1 start: `node node_modules/react-native/local-cli/cli.js start`
npm ERR! Exit status 11
npm ERR!
npm ERR! Failed at the MyProject@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/User/.npm/_logs/2018-04-20T03_38_51_324Z-debug.log
My-MacBook-Pro:MyProject User$
Asked
Active
Viewed 1,120 times
0

Code Hunter
- 10,075
- 23
- 72
- 102
-
Going to need some more info but have you run npm install before that – pmonty Apr 20 '18 at 04:22
-
Yes. I run that. – Code Hunter Apr 20 '18 at 04:27
1 Answers
0
Try running this
>npm r -g watchman
>brew update && brew upgrade
>brew install watchman
Here is the link of issue you are getting right now followed by this.

Kirankumar Dafda
- 2,354
- 5
- 29
- 56