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

Peer dependencies are too restrictive #34

Open
alois-beto opened this issue May 18, 2021 · 0 comments
Open

Peer dependencies are too restrictive #34

alois-beto opened this issue May 18, 2021 · 0 comments

Comments

@alois-beto
Copy link

The peerDependecies for rn-async-storage-flipper are too restrictive:

"peerDependencies": {
"@react-native-async-storage/async-storage": "^1.15.2",
"react-native": "^0.62.0",
"react-native-flipper": "^0.37.0"
},

With @react-native-async-storage/async-storage: 1.15.4, react-native: 0.63.2 and react-native-flipper: 0.87.0 I got two warning when running npm install:

npm WARN [email protected] requires a peer of react-native@^0.62.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-native-flipper@^0.37.0 but none is installed. You must install peer dependencies yourself.

npm semver consider react-native: 0.63.2 not compatible with ^0.62.0 because the major version is 0 (Same behavior with react-native-flipper)

Please remove peerDependecies or make them less restrictive in particular for react-native and react-native-flipper because these libraries are updated very often

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

No branches or pull requests

1 participant