小编Jac*_*ler的帖子

通过 /__/quitquitquit 函数代码库请求的 Firebase 函数关闭无法成功分析。它可能有语法或运行时错误

我正在尝试部署我的功能。我添加了第二个并重构了第一个,现在我无法部署。我尝试绕过 CI/CD 手动部署,但仍然出现错误。这是一个 2.0 函数,我确实运行了 tsc。自从我上次部署以来,我确实重新安装了 firebase-tools 包。除了我提到的以外,与它工作时没有什么不同。

\n

以下是 的输出firebase deploy --only functions

\n
i  deploying functions\nRunning command: npm --prefix "$RESOURCE_DIR" run lint\n\n> lint\n> eslint --ext .js,.ts .\n\nRunning command: npm --prefix "$RESOURCE_DIR" run build\n\n> build\n> tsc\n\n\xe2\x9c\x94  functions: Finished running predeploy script.\ni  functions: preparing codebase default for deployment\ni  functions: ensuring required API cloudfunctions.googleapis.com is enabled...\ni  functions: ensuring required API cloudbuild.googleapis.com is enabled...\ni  artifactregistry: ensuring required API artifactregistry.googleapis.com is enabled...\n\xe2\x9c\x94  functions: required API cloudbuild.googleapis.com is enabled\n\xe2\x9c\x94  functions: required API …
Run Code Online (Sandbox Code Playgroud)

node.js firebase google-cloud-functions

31
推荐指数
3
解决办法
1万
查看次数

标签 统计

firebase ×1

google-cloud-functions ×1

node.js ×1