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

Issue installing #639

Open
CHEWX opened this issue Feb 6, 2023 · 5 comments
Open

Issue installing #639

CHEWX opened this issue Feb 6, 2023 · 5 comments

Comments

@CHEWX
Copy link
Contributor

CHEWX commented Feb 6, 2023

Version

@nuxtjs/firebase: 8.2.2
firebase: 8.10.1
nuxt: 2.15.8

— npm i @nuxtjs/firebase
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@"^8.10.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer firebase@"^9.6.2" from @nuxtjs/[email protected]
npm ERR! node_modules/@nuxtjs/firebase
npm ERR!   @nuxtjs/firebase@"*" 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! See /Users/tom/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/tom/.npm/_logs/2023-02-06T13_18_34_928Z-debug-0.log
@vinosamari
Copy link

@CHEWX I just had the same issue and came to complain about it. @nuxtjs/firebasev8 requires firebasev9 and that's what's throwing the error. I got around it by running npm install @nuxtjs/firebase@^7.6.1. That's the last compatible version with version 8 apparently.

@CHEWX
Copy link
Contributor Author

CHEWX commented Mar 15, 2023

Likewise, but frustrating to need to research this.

@vinosamari
Copy link

There needs to be some additional information to the docs. I should make a PR to make that easier for others. @CHEWX

@frizurd
Copy link

frizurd commented Apr 26, 2023

@CHEWX I just had the same issue and came to complain about it. @nuxtjs/firebasev8 requires firebasev9 and that's what's throwing the error. I got around it by running npm install @nuxtjs/firebase@^7.6.1. That's the last compatible version with version 8 apparently.

Dependency was updated to v9 in the most recent version:
https://github.com/nuxt-community/firebase-module/releases

So you should be able to use version 8.2.0
npm install @nuxtjs/[email protected]

@skyler-saville
Copy link

skyler-saville commented Apr 28, 2023

npm install @nuxtjs/[email protected]

That did the trick!

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

4 participants