withObservables
withObservables copied to clipboard
Getting the legacy peer dependency error when using with latest react native ( 0.71.4)
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/[email protected]
npm ERR! Found: @types/[email protected]
npm ERR! node_modules/@types/react
npm ERR! @types/react@"*" from @types/[email protected]
npm ERR! node_modules/@types/hoist-non-react-statics
npm ERR! peer @types/hoist-non-react-statics@"^3.3.1" from @nozbe/[email protected]
npm ERR! node_modules/@nozbe/with-observables
npm ERR! @nozbe/with-observables@"1.4.1" from @nozbe/[email protected]
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 [email protected]
npm ERR! node_modules/react-redux
npm ERR! peerOptional react-redux@"^7.2.1 || ^8.0.2" from @reduxjs/[email protected]
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/[email protected]
npm ERR! node_modules/@types/react-native
npm ERR! @types/react-native@"^0.70" from @types/[email protected]
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/[email protected]
npm ERR! node_modules/@nozbe/with-observables
npm ERR! @nozbe/with-observables@"1.4.1" from @nozbe/[email protected]
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/[email protected]
npm ERR! node_modules/@types/react
npm ERR! peer @types/react@"^16.9.23||^17" from @nozbe/[email protected]
npm ERR! node_modules/@nozbe/with-observables
npm ERR! @nozbe/with-observables@"1.4.1" from @nozbe/[email protected]
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