Bom dia pessoal, não estou conseguindo dar o deploy após criação da segunda função
Segue o erro:
margo@margo-dell:~/code/alura-gcloud/forum-alura$ serverless deploy
Running "serverless" from node_modules
Compiling function "recebeAtividade"...
Compiling function "insereAtividade"...
Uploading artifacts...
Artifacts successfully uploaded...
Updating deployment...
Checking deployment update progress...
..........Environment: linux, node 16.14.2, framework 3.16.0 (local) 3.16.0v (global), plugin 6.2.2, SDK 4.3.2
Docs: docs.serverless.com
Support: forum.serverless.com
Bugs: github.com/serverless/serverless/issues
Error:
Error: Deployment failed: RESOURCE_ERROR
{"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Function failed on loading user code. This is likely due to a bug in the user code. Error message: Error: please examine your function logs to see the error cause: https://cloud.google.com/functions/docs/monitoring/logging#viewing_logs. Additional troubleshooting documentation can be found at https://cloud.google.com/functions/docs/troubleshooting#logging. Please visit https://cloud.google.com/functions/docs/troubleshooting for in-depth troubleshooting documentation."}
at throwErrorIfDeploymentFails (/home/margo/code/alura-gcloud/forum-alura/node_modules/serverless-google-cloudfunctions/shared/monitorDeployment.js:71:11)
at /home/margo/code/alura-gcloud/forum-alura/node_modules/serverless-google-cloudfunctions/shared/monitorDeployment.js:42:17
at processTicksAndRejections (node:internal/process/task_queues:96:5)
1 deprecation found: run 'serverless doctor' for more details