question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React Native 0.43 completely broken

See original GitHub issue

Description

I ran react-native init MyAwesomeApp. It finishes with npm warnings about peer dependencies and the default app doesn’t even run.

screen shot 2017-04-05 at 00 20 13 screen shot 2017-04-05 at 00 21 41

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:

screen shot 2017-04-05 at 00 18 48

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:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
grabboucommented, Apr 5, 2017

Have you tried restarting packager after upgrading React Native? Before pushing, I’ve checked run-ios on UIExplorer (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 Yoga separate repo.

1reaction
janicduplessiscommented, Apr 5, 2017

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found