React Native 0.43 upgrade error
See original GitHub issueDescription
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:
- Created 6 years ago
- Comments:38 (5 by maintainers)
Top 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 >
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

Upgrading npm seems to fix the issue:
npm install npm@latest -gI get
UNMET PEER DEPENDENCY react@16.0.0-alpha.6even though react@16.0.0-alpha.6 is installed.