peer dep missing: react@> 15.0.0 using create-react-native-app
See original GitHub issueIs this a bug report?
Yes its a bug report
Have you read the Contributing Guidelines?
yes
Environment
Environment: OS: macOS Sierra 10.12.6 Node: 7.0.0 Yarn: Not Found npm: 3.10.8 Watchman: 4.7.0 Xcode: Xcode 9.0 Build version 9A235 Android Studio: 2.3 AI-162.3934792
Packages: (wanted => installed) react: 16.0.0-alpha.12 => 16.0.0-alpha.12 react-native: ^0.48.4 => 0.48.4
Steps to Reproduce
(Write your steps here:)
- create-react-native-app TestProject
- cd TestProject
- npm list --depth=0
Expected Behavior
To return no npm ERR
Actual Behavior
it returns 2 npm errors:
OperaSetup@0.1.0 /Users/jmoretti/Git/logitech/ux-smarthome/OperaSetup
├── expo@21.0.2
├── jest-expo@21.0.2
├── react@16.0.0-alpha.12
├── react-native@0.48.4
├── react-native-scripts@1.5.0
└── react-test-renderer@16.0.0-alpha.12
npm ERR! peer dep missing: react@>=15.4.0, required by react-native-branch@2.0.0-beta.3
npm ERR! peer dep missing: react@> 15.0.0, required by react-native-gesture-handler@1.0.0-alpha.22
Reproducible Demo
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:8 (2 by maintainers)
Top Results From Across the Web
peer dep missing: react@> 15.0.0 using create-react-native-app
Hi! You're correct that peer dependency warnings will appear when installing certain dependencies in a react native project -- this is due ...
Read more >Could not resolve dependency error peer react@"^16.8.0
While trying to install npm install , I am getting below error, could someone please advise, what is the best approach to resolve...
Read more >you must install peer dependencies yourself Code Example
npm WARN codelyzer@6.0.1 requires a peer of tslint@^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself. typescript by devops ......
Read more >enzyme-adapter-react-16 - npm
Enzyme is a JavaScript Testing utility for React that makes it easier to test your React Components' output. You can also manipulate, traverse, ......
Read more >How to solve peer dependencies error after updating ... - Reddit
First, delete the node_modules folder in your project. Yarn will complain about any package-lock.json files, so delete that too (or 3. back it ......
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 FreeTop 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
Top GitHub Comments
create-react-native-app is maintained by several of the same people and the root issue is there. The actionable thing that a maintainer of the react-native repo can do is to point you at a more precise repo to open the issue.
Having the same problem as well… Desperately waiting for a fix!