Open besdar opened 2 weeks ago
react-native-windows@0.75.0
requires react-native@0.75
, while your project requires RN v0.74.5. I guess, you just need to pin RN windows to 0.74.x to make it work.@birdofpreyru thank you for your reply. Ok, I understand that you only support the latest version of the library, no problem.
About the second point: Yes, sorry for taking your time. I don't have a react-native-windows
dependency in my project, and it seems that since your library's package.json
has a peerDependency "react-native-windows: "*"
, it causes npm
to download the latest available package, which is now 0.75.X
, and then it conflicts with my older versions of RN. Installing your package with the --legacy-peer-deps
flag solves the problem.
Ok, I guess going forward "react-native-windows: "*"
in package.json should be changed to "react-native-windows: "0.75"
, or whatever the matching version of RN is.
Steps to reproduce:
1)
2)
Result:
checked on clean Fedora 40 installation, nodejs 20.12.2, npm 10.5.0