exponea / exponea-react-native-sdk

MIT License
8 stars 13 forks source link

Cannot upgrade to 1.5.1 due to react peer dependency downgrade #91

Closed frenic closed 1 year ago

frenic commented 1 year ago

Please, get your grip together with your peer dependencies! We cannot upgrade to 1.5.1 due to massive downgrade of react as peer dependency from ^18.2.0 -> ^17.0.2 in 19818f9a5e792a4edf661e76a7772f5752954924.


npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: lykoapp@24
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"18.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.2" from react-native-exponea-sdk@1.5.1
npm ERR! node_modules/react-native-exponea-sdk
npm ERR!   react-native-exponea-sdk@"^1.5.1" 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.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /home/frenic/.npm/_logs/2023-06-13T08_18_02_401Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/frenic/.npm/_logs/2023-06-13T08_18_02_401Z-debug-0.log
adam1929 commented 1 year ago

Thank you for report, dependency peer was released incorrectly. We'll bring fix. thank you

adam1929 commented 1 year ago

Hi @frenic please check fresh new release, thank you