FirebaseExtended / reactfire

Hooks, Context Providers, and Components that make it easy to interact with Firebase.

Home Page:https://firebaseopensource.com/projects/firebaseextended/reactfire/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Firebase 10.1.0

xuc323 opened this issue · comments

Possible support for Firebase 10.1.0?

Version info

React: 18.2.0

Firebase: 10.1.0

ReactFire: 4.2.3

Steps to reproduce

npm install

Expected behavior

Install successfully.

Actual behavior

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: firebase-frameworks@0.10.5
npm ERR! Found: firebase@10.1.0
npm ERR! node_modules/firebase
npm ERR!   firebase@"^10.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional firebase@"^9.9.0" from firebase-frameworks@0.10.5
npm ERR! node_modules/firebase-frameworks
npm ERR!   firebase-frameworks@"^0.10.4" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: firebase@9.23.0
npm ERR! node_modules/firebase
npm ERR!   peerOptional firebase@"^9.9.0" from firebase-frameworks@0.10.5
npm ERR!   node_modules/firebase-frameworks
npm ERR!     firebase-frameworks@"^0.10.4" 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.

I have the same issue with Firebase@10.3.0.

Is ReactFire@4.2.3 compatible with Firebase@10.3.0?

@jhuleatt this would be extremely helpful 🙏

same issue here

I used this library (the auth part) without any problem with firebase 10.
To install it I used the legacy dependency flag

npm install reactfire --legacy-peer-deps

And seems like they are working to update the library, they have a PR about firebase 10 #600 (and also is in this issue history if you read it)

I used this library (the auth part) without any problem with firebase 10. To install it I used the legacy dependency flag

npm install reactfire --legacy-peer-deps

And seems like they are working to update the library, they have a PR about firebase 10 #600 (and also is in this issue history if you read it)

The PR is not from a maintainer - so until one shows up - it will keep being open.

I guess since Firebase was not built last month, nobody cares about it anymore.

I am very grateful for the people who maintain this. Bumping this version to support at least version 10.0.0 would be a huge help. This is especially the case, because the firebase unit testing library requires it: https://www.npmjs.com/package/@firebase/rules-unit-testing.