firebase部署错误,错误:无法列出(项目名称)的功能

Ahm*_*med 10 gitlab firebase-hosting cicd

我在 Firebase 中托管我的 Web 应用程序,并使用 Gitlab CI/CD 部署它,并且它一直工作得很好!但今天由于某种原因我在管道工作时收到此错误

\n

56Error: Failed to list functions for project-name

\n

这是我在管道中运行的命令

\n

firebase deploy --only hosting --non-interactive --token $FIREBASE_TOKEN

\n

这是我收到的错误

\n
deploying hosting\n50i  hosting[project-name]: beginning deploy...\n51i  hosting[project-name]: found 39 files in dist/dev\n52i  hosting: hashing files [34/39] (87%)\n53i  hosting: upload complete\n54\xe2\x9c\x94  hosting[project-name]: file upload complete\n55i  hosting[project-name]: finalizing version...\n56Error: Failed to list functions for project-name\n
Run Code Online (Sandbox Code Playgroud)\n

请注意,该命令正在运行,直到显示“最终版本...”,然后停止。

\n

什么可能导致此错误?

\n

小智 7

我的 firebase 工具版本是 11.14.0。我将其更改为 11.13.0。通过 npm install -g firebase-tools@11.13.0 安装此特定版本。之后我就可以成功部署了。