我正在通过 Firebase CLI 为 Firebase 上传一些 Cloud Functions。我有我的functions
文件夹设置,一切都是正确的。:我实际上在另一个项目中使用了这个确切的函数文件夹,但无论出于何种原因,在这个特定项目中,当我运行时firebase deploy --only functions
,我得到这个:
i deploying functions
i functions: ensuring necessary APIs are enabled...
i runtimeconfig: ensuring necessary APIs are enabled...
✔ runtimeconfig: all necessary APIs are enabled
✔ functions: all necessary APIs are enabled
i functions: preparing functions directory for uploading...
i functions: packaged functions (972 B) for uploading
✔ functions: functions folder uploaded successfully
i starting release process (may take several minutes)...
i functions: updating function getUserByEmail...
⚠ functions[getUserByEmail]: Deploy Error: Failed to initialize a region
Functions deploy had errors. To continue deploying other features (such as database), run:
firebase deploy --except functions
Error: Functions did not deploy properly.
有谁知道这个错误是什么意思?
提前致谢!