question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update firebase peer dependency to support 8.x.x

See original GitHub issue

https://github.com/firebase/firebase-js-sdk/pull/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').

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:35
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
CLantigua2commented, Dec 6, 2020

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: chess_game@0.1.0
npm ERR! Found: firebase@8.1.2
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 react-firebaseui@4.1.0
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.
2reactions
lookfirstcommented, Nov 20, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

yarn add firebase gives "unmet peer dependency" warnings
yarn add firebase gives the following unmet peer dependency warnings. Firebase docs don't mention requiring any dependencies: see here, ...
Read more >
Firebase JavaScript SDK Release Notes - Google
Updated firebase -admin and firebase-functions dependencies to address protobufjs security issue. ... Removed @firebase/app-compat as a peerDependency of ...
Read more >
angular/fire - npm
AngularFire ; Dependency injection - Provide and Inject Firebase services in your components ; Zone.js wrappers - Stable zones allow proper ...
Read more >
you must install peer dependencies yourself Code Example
npm WARN codelyzer@6.0.1 requires a peer of tslint@^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
Read more >
ngx-auth-firebaseui documentation
Why to use ngx-auth-firebaseui ? Library's components; Supported Providers; Supported Processes and Actions; Requirements; Demo; Screenshots; Peer Dependencies ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found