Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Getting “Error: An unexpected error has occurred.” while deploying firebase function

1,802 views
Skip to first unread message

Baivab Maulik

unread,
Jun 21, 2021, 1:19:09 PM6/21/21
to Firebase Google Group

I am trying to deploy a firebase function for my Android application. I referred the Google's official documentation for the deployment of the function. Below is the link

https://firebase.google.com/docs/ml/android/recognize-landmarks#deploy-the-callable-function

Right after I use the deploy command I get an error that says “Error: An unexpected error has occurred.” 

I have attached the error screenshot and the debug log file below.

Thanks in advance for your help!!

Regards

Baivab

Error.jpg
firebase-debug.log

Sam Stern

unread,
Jun 21, 2021, 1:21:11 PM6/21/21
to Firebase Google Group
Looks like you're running into this issue:
https://github.com/firebase/firebase-tools/issues/3512

We're investigating it right now and hope to have a fix soon! In the meantime downgrading to an older version of the Firebase CLI is a workaround.

- Sam

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/2726cde8-4cac-4ff9-9c3f-1af5eac8f7e6n%40googlegroups.com.

Baivab Maulik

unread,
Jun 21, 2021, 4:50:37 PM6/21/21
to Firebase Google Group
Hi
I downgraded my firebase version to 9.12.1 but the error still persists. What do you suggest I can try next?

-Baivab

Kato Richardson

unread,
Jun 21, 2021, 4:58:48 PM6/21/21
to Firebase Google Group
Does firebase --version show 9.12.1? Seems likely you have something cached or perhaps one of your installs wasn't --global.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Sam Stern

unread,
Jun 22, 2021, 5:30:16 AM6/22/21
to Firebase Google Group
No need to downgrade anymore! We released a fix yesterday in version 9.14.0:

- Sam

Reply all
Reply to author
Forward
0 new messages