Skip to content

Update firebase peer dependency to support 8.x.x #114

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

Closed
matamatanot opened this issue Oct 28, 2020 · 9 comments · Fixed by #122
Closed

Update firebase peer dependency to support 8.x.x #114

matamatanot opened this issue Oct 28, 2020 · 9 comments · Fixed by #122
Assignees

Comments

@matamatanot
Copy link

firebase/firebase-js-sdk#3982

Error with firebase 8.0.0

node_modules/firebaseui/dist/esm.js
--
Attempted import error: 'app' is not exported from 'firebase/app' (imported as 'firebase').
@lookfirst
Copy link

@bojeil-google
Copy link
Contributor

Hey @jhuleatt can you help with this issue or assign to the right person?

@gvillenave
Copy link

Any update?

@gvillenave
Copy link

Just submitted PR to update the dependency here: #115

@masjugo
Copy link

masjugo commented Nov 20, 2020

I'm getting this Error when trying to install it in a gatsby project

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.1.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer firebase@">=6.3.4 <8" from [email protected] npm ERR! node_modules/react-firebaseui npm ERR! react-firebaseui@"*" 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.

@lookfirst
Copy link

I just kept my firebase dependency at 7x until this is resolved.

@jhuleatt jhuleatt linked a pull request Nov 20, 2020 that will close this issue
@CLantigua2
Copy link

Ran into the same issue. Installed firebase and tried to then install react-firebaseui

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.1.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer firebase@">=6.3.4 <8" from [email protected]
npm ERR! node_modules/react-firebaseui
npm ERR!   react-firebaseui@"*" 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.

@lookfirst
Copy link

Wow, thanks @brendanmc6 @jhuleatt !

@ulisses-cruz
Copy link

looks like, the problem returned

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving:
npm ERR! Found: [email protected]
npm ERR! node_modules/firebase
npm ERR!   peer firebase@">= 9.0.0" from [email protected]
npm ERR!   node_modules/react-firebase-hooks
npm ERR!     react-firebase-hooks@"^4.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! react-firebaseui@"*" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/firebase
npm ERR!   peer firebase@"^8.2.4" from [email protected]
npm ERR!   node_modules/react-firebaseui
npm ERR!     react-firebaseui@"*" 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!

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