I am building a flutter project, when I deploy firebase functions I am getting errors. The errors are not the same they change. This is the command I've run:
firebase deploy --only functions:getOrder
Example:
Error: Cloud Runtime Config is currently experiencing issues, which is preventing your functions from being deployed. Please wait a few minutes and then try to deploy your functions again. Run
firebase deploy --except functions
if you want to continue deploying the rest of your project.
Another possible error is:
Error: Failed to make request to https://serviceusage.googleapis.com/v1/projects/project-name/services/cloudfunctions.googleapis.com
I tried:
firebase login --reauth
firebase login
and firebase logout
firebase use --add
Nothing works.
How to solve? Is there another way to deploy firebase functions?
firebase-tools
as suggested in link1 & link2