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 Introduction to React Native Implementing React Native Scenes and Routing

Daan van Klinken
Daan van Klinken
78 Points

How to run the project properly?

I try to run the project on a simulator so that I can follow along with the video.

What I did:

  • Downloaded the ZIP
  • Did npm install in the stage2v1 folder
  • Did react-native run-ios

This is what I get in Terminal: ```** BUILD FAILED **

The following commands produced analyzer issues: Analyze Base/RCTModuleMethod.mm normal x86_64 (1 command with analyzer issues)

The following build commands failed: PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images build/Build/Intermediates.noindex/reactnative_brandybergh.build/Debug-iphonesimulator/reactnative_brandybergh.build/Script-00DD1BFF1BD5951E006B06BC.sh (1 failure)

Installing build/Build/Products/Debug-iphonesimulator/reactnative_brandybergh.app Launching org.reactjs.native.example.reactnative-brandybergh org.reactjs.native.example.reactnative-brandybergh: 18911```

The simulator shows a red screen with the message "undefined is not an object (evaluating 'ReactInternals.ReactCurrentOwner')

ā†’ How to fix this?

Edyta Jordan
Edyta Jordan
1,335 Points

Have the same issue.