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

Getting the legacy peer dependency error when using with latest react native ( 0.71.4) #134

Open
amanrajtoppoart007 opened this issue Apr 3, 2023 · 0 comments

Comments

@amanrajtoppoart007
Copy link

Please update the peer dependencies to the latest package , getting the legacy peer dependency error

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @nozbe/with-observables@1.4.1
npm ERR! Found: @types/react@18.0.28
npm ERR! node_modules/@types/react
npm ERR!   @types/react@"*" from @types/hoist-non-react-statics@3.3.1
npm ERR!   node_modules/@types/hoist-non-react-statics
npm ERR!     peer @types/hoist-non-react-statics@"^3.3.1" from @nozbe/with-observables@1.4.1
npm ERR!     node_modules/@nozbe/with-observables
npm ERR!       @nozbe/with-observables@"1.4.1" from @nozbe/watermelondb@0.25.5
npm ERR!       node_modules/@nozbe/watermelondb
npm ERR!         @nozbe/watermelondb@"^0.25.5" from the root project
npm ERR!       1 more (the root project)
npm ERR!     @types/hoist-non-react-statics@"^3.3.1" from react-redux@8.0.5
npm ERR!     node_modules/react-redux
npm ERR!       peerOptional react-redux@"^7.2.1 || ^8.0.2" from @reduxjs/toolkit@1.9.3
npm ERR!       node_modules/@reduxjs/toolkit
npm ERR!         @reduxjs/toolkit@"^1.9.3" from the root project
npm ERR!       1 more (the root project)
npm ERR!   @types/react@"*" from @types/react-native@0.70.11
npm ERR!   node_modules/@types/react-native
npm ERR!     @types/react-native@"^0.70" from @types/react-native-vector-icons@6.4.13
npm ERR!     node_modules/@types/react-native-vector-icons
npm ERR!       dev @types/react-native-vector-icons@"^6.4.13" from the root project
npm ERR!   4 more (@types/react-native-vector-icons, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @types/react@"^16.9.23||^17" from @nozbe/with-observables@1.4.1
npm ERR! node_modules/@nozbe/with-observables
npm ERR!   @nozbe/with-observables@"1.4.1" from @nozbe/watermelondb@0.25.5
npm ERR!   node_modules/@nozbe/watermelondb
npm ERR!     @nozbe/watermelondb@"^0.25.5" from the root project
npm ERR!   @nozbe/with-observables@"^1.4.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @types/react@17.0.55
npm ERR! node_modules/@types/react
npm ERR!   peer @types/react@"^16.9.23||^17" from @nozbe/with-observables@1.4.1
npm ERR!   node_modules/@nozbe/with-observables
npm ERR!     @nozbe/with-observables@"1.4.1" from @nozbe/watermelondb@0.25.5
npm ERR!     node_modules/@nozbe/watermelondb
npm ERR!       @nozbe/watermelondb@"^0.25.5" from the root project
npm ERR!     @nozbe/with-observables@"^1.4.1" from the root project
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