Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialChris Roberts-Watts
5,434 PointsError on running IOS App
I have installed react and nodeJS successfully and the Packager runs okay first but after that when the app goes to build the dependency graph i get the following error;
Loading dependency graph...2018-07-25 20:59 node[25790] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22) 2018-07-25 20:59 node[25790] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22) 2018-07-25 20:59 node[25790] (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:992:11) at FSEvent.FSWatcher._handle.onchange (fs.js:1359:9)
I believe I have installed watchman correctly and also uninstalled it and reinstalled. I have ran npm install on the folder for the project which ran successfully. I am not sure what else to try.
The simulator loads but I am just presented with a red error screen.
1 Answer
Chris Roberts-Watts
5,434 PointsAri Misha I uninstalled node JS and watchman and then reinstalled node JS and then used brew to install watchman all globally and it worked but thanks for posting a reply :)
Ari Misha
19,323 PointsAri Misha
19,323 PointsHave you tried installing watchman globally? (: