Dec 122015

We’re using React at work for a current project. I thought I might start checking out React Native as a side project to get me working more in React and to see what I can get going on iOS.

The React Native Getting Started page is pretty good, but upon trying to run the AwesomeProject sample, I got errors related to watchman in the console the first time and then a subsequent error similar to

Error building DependencyGraph:
TypeError: Cannot read property 'root' of null

followed by a stack trace. The simulator then loaded with a red screen and another set of errors. I went to the React Native Troubleshooting page, but didn’t find my error there. After googling a bit, I found that

brew update && brew reinstall watchman

did the trick for me and got me running. I also got warnings about running with iOS 7.0 as the target. I don’t know if that was the default from the React starter or some other default, but I just set that to the latest (iOS 8.2).

The issue navigator in Xcode is also giving the following error, but I haven’t sorted that one out yet. It didn’t keep the project from running.

(null): Directory not found for option '-F/Applications/'

Stay tuned as I post my progress here with trying out React Native.

 Posted by on December 12, 2015 at 2:54 pm

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



This site uses Akismet to reduce spam. Learn how your comment data is processed.