React Native 0.43 completely broken
See original GitHub issueDescription
I ran react-native init MyAwesomeApp. It finishes with npm warnings about peer dependencies and the default app doesn’t even run.

Reproduction Steps and Sample Code
react-native init MyAwesomeApp cd MyAwesomeApp react-native run-ios
Observe that it doesn’t work.
Solution
I assume the issue stems from this:

And potentially other things related to that. I don’t understand enough about how react-native works to know what’s wrong.
Additional Information
- React Native version: 0.43.0
- Platform: iOS
- Development Operating System: MacOS Sierra
- Dev tools: CLI
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
npm ERR! Conflicting peer dependency: react@18.0.0
I am trying to create a new react-native project with another already created and in a different directory which is not lower in...
Read more >Troubleshooting - React Native
These are some common issues you may run into while setting up React Native. If you encounter something that is not listed here, ......
Read more >Installation · React Native Camera
Click RNCamera.xcodeproj in the project navigator and go the Build Settings tab. Make sure 'All' is toggled on (instead of 'Basic'). In the ......
Read more >Expo SDK v17.0.0 is now available | by Ben Roth | Exposition
Breaking changes in ExNavigator sceneStyle. We updated ExNavigator to handle the fact that Navigator was removed from React Native. As a result, the...
Read more >Introducing Hooks - React
No Breaking Changes · Completely opt-in. You can try Hooks in a few components without rewriting any existing code. But you don't have...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Have you tried restarting
packagerafter upgrading React Native? Before pushing, I’ve checkedrun-iosonUIExplorer(bundled example of React Native) and everything worked.@janicduplessis I was planning to cherry-pick Yoga commit but eventually didn’t, as the commit was to
Yogaseparate repo.Thanks for reporting this, the peer dep isn’t actually the issue. Might be related to some yoga commits that were cherry picked recently. cc @grabbou