PS C:\Users\Windows 10\forum-alura> serverless deploy
Running "serverless" from node_modules
(node:6188) [DEP0040] DeprecationWarning: The punycode
module is deprecated. Please use a userland alternative instead.(Use node --trace-deprecation ...
to show where the warning was created)
Compiling function "recebeAtividade"...
Environment: win32, node 22.1.0, framework 3.38.0 (local) 3.38.0v (global), plugin 7.2.3, SDK 4.5.1
Docs: docs.serverless.com
Support: forum.serverless.com
Bugs: github.com/serverless/serverless/issues
Error: Error: Cloud Deployment Manager V2 API has not been used in project serverless-423013 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/deploymentmanager.googleapis.com/overview?project=serverless-423013 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry. at Gaxios._request (C:\Users\Windows 10\forum-alura\node_modules\gaxios\build\src\gaxios.js:129:23) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async JWT.requestAsync (C:\Users\Windows 10\forum-alura\node_modules\google-auth-library\build\src\auth\oauth2client.js:343:18)
1 deprecation found: run 'serverless doctor' for more details
Entrei no link acima e me veio o seguinte retorno:
Você precisa de acesso adicional Você precisa de acesso adicional a projeto: serverless-423013 Para solicitar acesso, entre em contato com o administrador de projeto e forneça uma cópia das seguintes informações:
Informações de solução de problemas: Principal: carlosaljuniorbr@gmail.com Recurso: serverless-423013 URL de solução de problemas: console.cloud.google.com/iam-admin/troubleshooter;permissions=resourcemanager.projects.get;principal=carlosaljuniorbr@gmail.com;resources=%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2Fserverless-423013/result
Permissões faltando: resourcemanager.projects.get.