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
npm WARN config optional Use `--omit=optional` to exclude optional dependencies, or
npm WARN config `--include=optional` to include them.
npm WARN config
npm WARN config Default value does install optional deps unless otherwise omitted.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react-native
npm ERR! react-native@"0.73.6" from the root project
npm ERR! peer react-native@"*" from @dr.pogodin/[email protected]
npm ERR! node_modules/@dr.pogodin/react-native-fs
npm ERR! @dr.pogodin/react-native-fs@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"^0.74.0" from [email protected]
npm ERR! node_modules/react-native-windows
npm ERR! peer react-native-windows@"*" from @dr.pogodin/[email protected]
npm ERR! node_modules/@dr.pogodin/react-native-fs
npm ERR! @dr.pogodin/react-native-fs@"*" 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! /Users/rahulshetty/.npm/_logs/2024-08-16T15_32_01_135Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/rahulshetty/.npm/_logs/2024-08-16T15_32_01_135Z-debug-0.log
I do not want to use --legacy-peer-deps as it would cause problems with my other dependencies.
The text was updated successfully, but these errors were encountered:
Sorry, this library only officially supports the latest RN version, which is still 0.74 (pending an upgrade to 0.75, #60). Also, your issue is that react-native-windows strictly pins RN v0.74 as a peer dependency (I pin whatever RN version), perhaps you should suggest them to be less strict?
Running -
npm install --save @dr.pogodin/react-native-fs --no-optional
causes -
I do not want to use
--legacy-peer-deps
as it would cause problems with my other dependencies.The text was updated successfully, but these errors were encountered: