В чем причина аварийного завершения развертывания функций firebase - PullRequest
0 голосов
/ 21 октября 2018

При развертывании через firebase deploy --only functions я недавно получаю следующие сообщения об ошибках:

В консоли:

✔  functions: all necessary APIs are enabled
i  functions: preparing functions directory for uploading...
i  functions: packaged functions (90.26 KB) for uploading
✔  functions: functions folder uploaded successfully
i  functions: updating Node.js 6 function firestoreEmail(us-central1)...
i  functions: updating Node.js 6 function apiMain(us-central1)...
✔  functions[apiMain(us-central1)]: Successful update operation.
⚠  functions[firestoreEmail(us-central1)]: Deployment error.
Error setting up the execution environment for your function. Please try deploying again after a few minutes.

Functions deploy had errors. To continue deploying other features (such as database), run:
    firebase deploy --except functions

Error: Functions did not deploy properly.

В журнале:

{"@type":"type.googleapis.com/google.cloud.audit.AuditLog","status":{"code":13,"message":"Error setting up the execution environment for your function. Please try deploying again after a few minutes."},"authenticationInfo":{"principalEmail":"myemail@gmail.com"},"serviceName":"cloudfunctions.googleapis.com","methodName":"google.cloud.functions.v1.CloudFunctionsService.UpdateFunction","resourceName":"projects/myproject/locations/us-central1/functions/firestoreEmail"}
...