Open flexaddicted opened 6 years ago
You are installing react-native@0.57.0
which has a peerDep on react@16.5.0
(that exact version).
However you are installing "react": "^16.5.2"
which will never match 16.5.0
so this warning correctly appears (16.5.2 != 16.5.0)
You could change your dependency to "react": "16.5.0"
Maybe the message is slightly unclear. It's really saying that the peer dependency react@16.5.0
is unmet.
@rally25rs Thanks for the reply.
Here my question to the RN team:
That's the issue of one particular package. I don't think anything can be done here.
Do you want to request a feature or report a bug?
I want to report a bug.
What is the current behavior?
Running
yarn install
I receive the following warning:If the current behavior is a bug, please provide the steps to reproduce.
This is the
package.json
file I'm using:What is the expected behavior?
The warning should not be present.
Please mention your node.js, yarn and operating system version.