Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UNMET PEER DEPENDENCY Error #13

Closed
dmolesworth opened this issue Feb 2, 2017 · 3 comments
Closed

UNMET PEER DEPENDENCY Error #13

dmolesworth opened this issue Feb 2, 2017 · 3 comments

Comments

@dmolesworth
Copy link

When I run
npm i --save lottie-react-native
I get an error message saying;

├─┬ lottie-react-native@1.0.0
│ └── UNMET PEER DEPENDENCY react-native@*
├── UNMET PEER DEPENDENCY react@>=15.3.1
└── UNMET PEER DEPENDENCY react-native@>=0.35
npm WARN lottie-react-native@1.0.0 requires a peer of react@>=15.3.1 but none was installed.
npm WARN lottie-react-native@1.0.0 requires a peer of react-native@>=0.35 but none was installed.
npm WARN react-native-safe-module@1.1.0 requires a peer of react-native@* but none was installed.

Running the latest version of React Native

@lelandrichardson
Copy link
Collaborator

@dmolesworth which version of react and react-native are you using? Since those are peer dependencies, you will also need to install them if you don't have them already (which is what it looks like from your error message)

@dmolesworth
Copy link
Author

thanks for getting back to me, i'm running version 0.40. I'll look at installing the dependancies

@lelandrichardson
Copy link
Collaborator

Closing. NPM is behaving as expected. react-native and react are peer dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants