Skip to content

Possible support for Firebase 10.5.0? #599

Description

@nicolopadovan

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: app@0.1.0
npm ERR! Found: firebase@10.5.2
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 reactfire@4.2.3
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.

Activity

  1. ian-sayles commented on Nov 10, 2023

    @ian-sayles

    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?

  2. nicolopadovan commented on Nov 10, 2023

    @nicolopadovan
    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

  3. lt7 commented on Jun 27, 2024

    @lt7

    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?

  4. TenetMax commented on Aug 29, 2024

    @TenetMax

    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.

  5. stevebrowndotco commented on Dec 16, 2024

    @stevebrowndotco

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

      "overrides": {
        "reactfire": {
          "firebase": "10.14.1"
        }
      },
    
  6. tyler-reitz commented on Jul 6, 2026

    @tyler-reitz
    Contributor

    Sorry for the delay here. This is now fixed in #713 which widened the Firebase peer dependency to support ^9||^10||^11||^12||next. Please upgrade to the latest version of reactfire and let us know if you run into any issues. Thanks for your patience!

  7. locked and limited conversation to collaborators on Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions