Skip to content

Errors installing react-firebaseUI #3

@gitmeto

Description

@gitmeto

@andreaowu

While following along the firebase expense tracker code along, and attempting to install react-firebaseUI, getting the following error messages. Attempted to resolve by invoking --force and --legacy-peer-deps to no avail.

'Log files:

Terminal Response
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: firebase@10.3.1
npm ERR! node_modules/firebase
npm ERR! firebase@"^10.3.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer firebase@"^9.1.3" from react-firebaseui@6.0.0
npm ERR! node_modules/react-firebaseui
npm ERR! react-firebaseui@"^6.0.0" 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! C:\Users\priva\AppData\Local\npm-cache_logs\2023-09-05T04_21_12_941Z-eresolve-report.txt

npm resolution error report

While resolving: undefined@undefined
Found: firebase@10.3.1
node_modules/firebase
firebase@"^10.3.1" from the root project

Could not resolve dependency:
peer firebase@"^9.1.3" from react-firebaseui@6.0.0
node_modules/react-firebaseui
react-firebaseui@"^6.0.0" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions