You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though on github I can clearly see that the peer dependency for @react-native-async-storage/async-storage is now 2.x, on npm if you explore the code it's still 1.x, you can check link.
This means that in a project with @react-native-async-storage/async-storage: 2.0.0 I get the following error installing analytics-react-native
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: app-expo@1.0.0
npm ERR! Found: @react-native-async-storage/async-storage@2.0.0
npm ERR! node_modules/@react-native-async-storage/async-storage
npm ERR! @react-native-async-storage/async-storage@"^2.0.0" from the root project
npm ERR! peerOptional @react-native-async-storage/async-storage@"2.x" from @segment/analytics-react-native@2.19.5
npm ERR! node_modules/@segment/analytics-react-native
npm ERR! @segment/analytics-react-native@"2.19.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @react-native-async-storage/async-storage@"1.x" from @segment/sovran-react-native@1.1.2
npm ERR! node_modules/@segment/sovran-react-native
npm ERR! @segment/sovran-react-native@"^1.1.2" from the root project
npm ERR! peer @segment/sovran-react-native@"^1.1.0" from @segment/analytics-react-native@2.19.5
npm ERR! node_modules/@segment/analytics-react-native
npm ERR! @segment/analytics-react-native@"2.19.5" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
analytics-react-native version: 2.19.5
Integrations versions (if used):
React Native version:
iOS or Android or both?
Steps to reproduce:
Install latest sovran version (1.1.2), install latest @react-native-async-storage/async-storage, and then install latest analytics-react-native
Expected behavior
Dependency resolution should not fail.
Actual behavior
Dependency resolution fails
The text was updated successfully, but these errors were encountered:
Even though on github I can clearly see that the peer dependency for @react-native-async-storage/async-storage is now
2.x
, on npm if you explore the code it's still1.x
, you can check link.This means that in a project with @react-native-async-storage/async-storage: 2.0.0 I get the following error installing analytics-react-native
analytics-react-native
version: 2.19.5Steps to reproduce:
Install latest sovran version (1.1.2), install latest @react-native-async-storage/async-storage, and then install latest analytics-react-native
Expected behavior
Dependency resolution should not fail.
Actual behavior
Dependency resolution fails
The text was updated successfully, but these errors were encountered: