I am trying to deploy my firebase cloud functions they work fine on local host but when I try to deploy them I get the following error:
{"@type":"type.googleapis.com/google.cloud.audit.AuditLog","status":{"code":3,"message":"Invalid function service account requested: default. Please visit https://cloud.google.com/functions/docs/troubleshooting for in-depth troubleshooting documentation."},"authenticationInfo":
I tried to play with roles but nothing works any help
CodePudding user response:
Okay so the main problem is in the 11.2.0 version of firebase-tools
.
The steps i did to reproduce was simply downgrading to the 11.1.0 version and it worked perfectly!
This is the issue on github and this is the solution suggested by mhotan:
npm install -g [email protected]