sveltefire icon indicating copy to clipboard operation
sveltefire copied to clipboard

Update Firebase Peer Dependency

Open MaCleodWalker opened this issue 1 year ago • 4 comments

Changes: Updated Firebase peer dependency to version 10.0.0 from 9.0.0 to align with the latest stable release. Verified compatibility with the existing codebase and other dependencies.

MaCleodWalker avatar Oct 02 '23 19:10 MaCleodWalker

Would be awesome if we could get this PR through. My github workflow currently fails due to this when npm i --omit dev --no-audit executes from the FirebaseExtended/action-hosting-deploy@v0 step.

Dev1994 avatar Oct 08 '23 07:10 Dev1994

@Dev1994 Until this is merged, I've been avoiding errors by adding the --legacy-peer-deps option to npm install commands. If the Firebase GitHub Action is running some npm install command that is failing, you can configure your project with a .npmrc with that option enabled.

Note that this is generally not recommended, as you will have to manually make sure your project is installing compatible peer dependencies. My project is simple enough that it's not an issue for now. Hope this helps!

brandonbaraban avatar Oct 15 '23 15:10 brandonbaraban

Agreed on this part! - Please update the dependencies for firebase. I love your SvelteFire 🔥

TobyNorhave avatar Feb 17 '24 22:02 TobyNorhave

+1 Through when using legacy dependencies, my Cloudflare build was failing. @brandonbaraban mentioned the fix, I also found it here: https://stackoverflow.com/a/73433707

# .npmrc
legacy-peer-deps=true

nickt28 avatar May 12 '24 09:05 nickt28