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 upgrade error

See original GitHub issue

Description

When my project upgrade to React Native 0.43,hint errors as follow:

├── UNMET PEER DEPENDENCY react@15.4.2
├── react-addons-pure-render-mixin@15.4.2
├── react-native@0.43.0
├── react-native-extended-stylesheet@0.3.2
└── react-native-scrollable-tab-view@0.6.0

npm ERR! peer dep missing: react@16.0.0-alpha.6, required by react-native@0.43.0
npm ERR! peer dep missing: react@^15.5.0, required by react-addons-shallow-compare@15.5.0-alpha.0

How to resolve it?

Reproduction Steps and Sample Code

I use npm install --save react-native@0.43 to upgrade React Native

Additional Information

  • React Native version: 0.43
  • Platform: Android
  • Development Operating System: MacOS
  • Dev tools: Android Studio 2.2.3

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:38 (5 by maintainers)

github_iconTop GitHub Comments

19reactions
liftyourgamecommented, Apr 11, 2017

Upgrading npm seems to fix the issue:

npm install npm@latest -g

14reactions
SudoPlzcommented, Apr 5, 2017

I get UNMET PEER DEPENDENCY react@16.0.0-alpha.6 even though react@16.0.0-alpha.6 is installed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

An error occurred during upgrade in react native
I successfully upgrade RN project using react-native upgrade instead of react-native-git-upgrade , here's the step:.
Read more >
Troubleshooting - React Native
If running on device from Xcode, you can do this by updating occurrences of 8081 to your chosen port in the ios/__App_Name__.xcodeproj/project.
Read more >
react-native - npm
A framework for building native apps using React. Latest version: 0.70.6, last published: a month ago. Start using react-native in your ...
Read more >
"React Native version mismatch" errors - Expo Documentation
This can happen after upgrading your React Native or Expo SDK version, or when connecting to the wrong local development server.
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 >

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