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

Update peer dependencies #126

Open
bartaldavid opened this issue Sep 12, 2023 · 4 comments
Open

Update peer dependencies #126

bartaldavid opened this issue Sep 12, 2023 · 4 comments

Comments

@bartaldavid
Copy link

bartaldavid commented Sep 12, 2023

Just a simple issue:

I installed sveltefire into my project and got the following warning:

WARN  Issues with peer dependencies found
.
└─┬ sveltefire 0.4.2
└── ✕ unmet peer firebase@^9.0.0: found 10.3.1

This should be updated so that the library can be used with the latest Firebase SDK versions. This shouldn't break anything as far as I know.

@votkon
Copy link

votkon commented Jan 18, 2024

Had the same issue, though during the installation.
To bypass use
npm i sveltefire --legacy-peer-deps

@InnovateWorldio
Copy link

I had the same issue with peer dependencies with a new sveltekit + skeleton + firebase + sveltefire app. My app wouldn't build and I had to use some NPM Package Patch tool to update the firebase dependency within Sveltefire. Then everything worked. It was a bit of an annoyance but it worked fine.

@IanSaucy
Copy link

A slightly cleaner way of fixing this is to override the dependency. Place this into your package.json file. $firebase is a reference to whatever version you have specified in your dependencies section.

"overrides": { "sveltefire": { "firebase": "$firebase" } }

@ExpertzZ
Copy link

It's a full year later and he still didn't update this..

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

5 participants