小编Sez*_*zai的帖子

我无法部署我的 firebase 函数,出现错误:无法成功分析函数代码库

对于我的项目,我试图创建并使用一个函数来从 Firebase Auth 中删除特定用户。但我了解到我无法从客户端做到这一点。在这种情况之后,我开始学习和使用 Firebase Functions。它们看起来很简单,但是当我尝试部署时,它说成功,但显然不是。

\n

正如我上面所解释的,这是我的 PowerShell:

\n
\nPS C:\\Users\\herob\\OneDrive\\Masa\xc3\xbcst\xc3\xbc\\web-projects\\##myprojectname##> firebase deploy --only functions:deleteUserByUid\n\n=== Deploying to '##myprojectname##'...\n\ni  deploying functions\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+  artifactregistry: required API artifactregistry.googleapis.com is enabled\n+  functions: required API cloudfunctions.googleapis.com is enabled\n+  functions: required API cloudbuild.googleapis.com is enabled\ni  functions: Loading and anaylzing source code for codebase default to determine what to deploy\nServing …
Run Code Online (Sandbox Code Playgroud)

javascript powershell firebase firebase-tools google-cloud-functions

5
推荐指数
0
解决办法
1562
查看次数