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 trial

JavaScript

Jordan Watson
Jordan Watson
14,738 Points

React Native simulator command not running?

I am struggling to run the react-native run-ios command im unsure if this source base was created with create-react-native ? The teacher states that should launch my simulator although my terminal gives the generic command not found?

1 Answer

Seth Kroger
Seth Kroger
56,413 Points

You need to install React Native CLI Tools for that command:

npm install -g react-native-cli-tools

If you still have issues after getting it installed see here: https://facebook.github.io/react-native/docs/getting-started.html and select the "Building Projects with Native Code" tab. Make sure you have everything installed correctly.

Jordan Watson
Jordan Watson
14,738 Points

Perfect Thank you! shame the course does not make this obvious...