-
Notifications
You must be signed in to change notification settings - Fork 205
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 deps for firebase-admin v12 #1496
Comments
I found a few problems with this issue:
|
Yes, related to firebase/firebase-admin-node#2374 |
Is this issue related to this error?
Occurs on build when trying to update to firebase-admin v12 |
I ran into what I believe to be a related issue. When mixing firebase-functions 4.5.0 and firebase-admin 12.0.0, the Firestore object provided by firebase-functions Firestore triggers in QueryDocumentSnapshot isn't compatible with
Also saw this when trying to use a DocumentSnapshot provided by firebase-functions:
A workaround is to not use the Firestore objects provided by firebase-functions in QueryDocumentSnapshot, and instead init firebase-admin separately, using |
No you are not able to deploy the functions with this per dependency issue. |
Not sure if I was clear here, we cannot deploy (fails on build) |
Is there a plan to support admin v12? I want the sum and average functionality and this is a blocker |
Any updates when firebase-functions will support firebase-admin 12? |
I tried as well and my deployment fails with the peer dependency error described above. I really would hope that within the same ecosystem, this would be supported straight out of the box. Is anyone at Firebase working on this? |
AFAIK only possible workaround (which won't work in every case I guess) is to do this #1496 (comment) Hopefully it can be fixed soon, but knowing it's a xmas season, I'd assume fix should be up mid/end of Jan. 🤞 if it could be done this year though. |
They seem asleep at the wheel these days. I would not hold my breath for a fix anytime soon. |
(I'll see if I can get the right people's attention on this soon. cc @taeold @blidd-google) |
Feels like devs are not aware of this issue, because yesterday's Firebase Release Notes from @puf highlights feature availability. Yet we're here waiting for the fix. |
I had the same issue with firebase-admin v12.0.0 and firebase-functions v4.5.0 I asked this to Firebase Support and they guided me to here and they said downgrade the firebase-admin. For me, use
is just working. I hope it could help someone like me. Thank you always! LFG🚀🔥 |
Any updates on this? |
Yes, given the teams reluctances to fix any issues over the past months it seems to be the only conclusion we can come to. |
@Blunderchips @gabrieljbaker I may not be happy with the way the releases are managed. But given that v12 of the Yes, I would prefer if this had been supported right out of the gate with the release of v12 of the One month (and around Christmas / Holidays / New Years) really isn't a long enough time for them to be called “not caring”. |
Hi @chrisspiegl yes I would agree with you if this issue happened in isolation but it is following a trend that has been on going for most of last year. |
@Firebase_team, do you have an ETA on this? Not trying to rush you! Just trying to get a rough idea if it's going to be a week, a month, or a year before this is fixed.? And it'd be great just to hear that someone on the team is aware of the issue. Thanks! |
@taeold Thank you for taking care of this but, isn't this comment from @CodingDoug still an issue? Because this case was closed with a commit limited to update peer dependencies in |
@taeold – additional to the comment above, there's still the build error (from mismatched types) as also mentioned in #1444:
|
Yes this is still an issue. |
the issue is still there! |
and
|
I have found a temporary solution to this problem.
Is there a way to fix this problem the right way? |
Easiest workaround is just to in this file line100
to
But for an official fix im afraid we have to wait for a new release.. |
For anyone still experiencing this problem, update firebase-function-test to 3.1.1 as shown below: "firebase-functions-test": "^3.1.1", |
Related issues
[REQUIRED] Version info
node:
v20.10.0
firebase-functions:
4.5.0
firebase-tools:
13.0.0
firebase-admin:
12.0.0
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
update firebase-admin to v12
[REQUIRED] Expected behavior
no warning about peer deps for firebase-admin
[REQUIRED] Actual behavior
WARN Issues with peer dependencies found
.
└─┬ firebase-functions 4.5.0
└── ✕ unmet peer firebase-admin@"^10.0.0 || ^11.0.0": found 12.0.0
Were you able to successfully deploy your functions?
not tried, but probably yes....
The text was updated successfully, but these errors were encountered: