Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.