【发布时间】:2023-04-28 12:17:01
【问题描述】:
当我尝试使用
firebase-tools cli
部署函数时,我总是收到每个函数的部署错误。输出如下所示:
! functions[import]: Deployment error.
Error in the build environment
我尝试过不同的部署方式:
firebase deploy --only functions
和
firebase deploy --only functions:[function-name]
两者都会导致部署错误。打包的函数文件夹上传成功。 有什么方法可以更新我当前的功能吗?
-
如果您在部署过程中看到没有帮助的错误,请务必检查遗留的 firebase-debug.log 文件,或者在启用调试的情况下再次运行
firebase deploy --debug
。这可能包含要分享的有用信息。 -
我已经尝试过了,但我找不到任何有关导致错误的信息。我已经在 firebase-tools 存储库上提交了一个问题。在那里你可以找到我的 firebase-debug.log - github.com/firebase/firebase-tools/issues/630
-
请联系 Firebase 支持,尽可能多地了解您的项目。 firebase.google.com/support/contact/troubleshooting
-
也试过了;)。我只是等待他们的回应。谢谢道格!