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.

peer dep missing: react@> 15.0.0 using create-react-native-app

See original GitHub issue

Is 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:)

  1. create-react-native-app TestProject
  2. cd TestProject
  3. 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

TestProject.zip

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
idecommented, Sep 28, 2017

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.

2reactions
josmithuacommented, Oct 4, 2017

Having the same problem as well… Desperately waiting for a fix!

Read more comments on GitHub >

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

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