Coder Social home page Coder Social logo

firebase v10 about react-query-firebase HOT 2 OPEN

husleuujii avatar husleuujii commented on June 11, 2024 1
firebase v10

from react-query-firebase.

Comments (2)

dr1602 avatar dr1602 commented on June 11, 2024

Same here, once you are in the corresponding directory (in my case a ReactJS proyect with typescript, npm and firebase), when you use the command (in the ubuntu console): npm i --save @react-query-firebase/analytics

The following message appears:

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.7.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer firebase@"^9.0.1" from @react-query-firebase/[email protected]
npm ERR! node_modules/@react-query-firebase/analytics
npm ERR!   @react-query-firebase/analytics@"*" 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! /root/.npm/_logs/2023-12-15T18_39_38_961Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-12-15T18_39_38_961Z-debug-0.log

I have already tried as well updating the packages I use for the project with: npm install --legacy-peer-deps

but still get the same error.

from react-query-firebase.

cgalo avatar cgalo commented on June 11, 2024

The installation documentation points that react-query-firebase only supported Firebase JS SDK v9. This is the reason the issue above is happening.

Note: The library only supports Firebase JS SDK v9 - learn more about it here!

I went ahead and created a feature request (#96). Hopefully this package can be updated to support the newer Firebase versions 😄

from react-query-firebase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.