Comments (2)
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.
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)
- Is this repo still being worked on... HOT 5
- Querying firestore documents with subscribe never fetches HOT 8
- How to write tests for this hooks using Jest/RTL?
- 1.0.0-dev7: useFirestoreDocumentData does not update invalidated data (react 18.2.0, react-query 3.39.2) HOT 1
- Dependent Queries HOT 2
- Uncaught ReferenceError: Cannot access 'query' before initialization HOT 3
- How do I pass variables to hooks? HOT 2
- Dependency issue HOT 1
- TypeError: can't access property "delete", _firebase_util__WEBPACK_IMPORTED_MODULE_0__.getModularInstance(...) is undefined HOT 1
- useFirestoreQuery() - duplicate firebase SDK HOT 1
- Can this package be used with react native? authentication does not pick up google login
- NextJS 13 - Auth Checking is not working as expected HOT 1
- useFirestoreInfiniteQuery() - data.page is null or undefined when refreshing page HOT 1
- useAuthUser works only for the first execution in react native HOT 2
- Enabled option error HOT 1
- Can not pass mutation of useAuthSignOut as dependencies of useEffect
- Maintainers? HOT 3
- How can I perform nested collection queries?
- [FR] Support Firebase JS SDK v10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-query-firebase.