Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible support for Firebase 10.5.0? #599

Open
nicolopadovan opened this issue Nov 1, 2023 · 5 comments
Open

Possible support for Firebase 10.5.0? #599

nicolopadovan opened this issue Nov 1, 2023 · 5 comments

Comments

@nicolopadovan
Copy link

Version info

React: ^18
Firebase: 10.5.0
ReactFire: 4.2.3

Steps to reproduce

npm install

Expected behavior

Install successfully.

Actual behavior

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/firebase
npm ERR!   firebase@"^10.5.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer firebase@"^9.0.0" from [email protected]
npm ERR! node_modules/reactfire
npm ERR!   reactfire@"*" 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.
@ian-sayles
Copy link

Does anybody know if this library gets upgraded when Firebase SDK reaches a certain version, or is there no planning and just gets done when someone just feels like it?

@nicolopadovan
Copy link
Author

Does anybody know if this library gets upgraded when Firebase SDK reaches a certain version, or is there no planning and just gets done when someone just feels like it?

This is not an official Firebase product, it's a community library

@lt7
Copy link

lt7 commented Jun 27, 2024

It's been over a year since last reactfire 9.23 update and now v10.12.x with VertexAI, other and security fixes is out. Is reactfire abandoned, and does anyone have an alternative?

@TenetMax
Copy link

i dont know if this will help anyone, and its a bad answer, but I only use reactfire for the auth providers, and it seems to work just fine as far as firebase 10.12.2 with --legacy-peer-deps to force it to install. This is obviously risky and YMMV, but I havent seen any issues at all thusfar.

@stevebrowndotco
Copy link

My alternative to @TenetMax 's workaround is to do this:

  "overrides": {
    "reactfire": {
      "firebase": "10.14.1"
    }
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants