-
Notifications
You must be signed in to change notification settings - Fork 472
npm install
fails because restrictive react
semver
#578
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
Comments
Every version of That said, AsyncStorage doesn't really depend on |
understood, and confirmed.. digging deeper it appears the last upgrade of our packages was done using a version of npm that has different behaviors, i found several conflicts in our source tree (for example, our react and react-native versions are in conflict, expo-three and three, etc.) i'm able to work around the issue with cli flags to npm: npm install --legacy-peer-deps ..but it looks like we'll still need to force upgrade/downgrade packages and run regression tests. fun. Also, thanks for the feedback! 💯 |
🎉 This issue has been resolved in version 1.15.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Current behavior
Expected behavior
Repro steps
To simulate a pre-existing project which was working fine until recently:
Environment
npm install is failing.
Please consider the following suggested peer deps:
I believe for
react
it makes more sense to target the major version for compatibility, ie. all releases of v16 should be compatible from a downstream perspective, and a semver constraint of^16.8.6
should allow every v16 release from 16.8 up to but not including v17.0.0 or beyond. It would also be convenient if the same approach was taken for v17.x -- but I'm only concerned about not being forced to upgrade non-deprecated versions of react to use this package.Thanks!
The text was updated successfully, but these errors were encountered: