gpt4 book ai didi

预期定义函数的 GCloud Functions : load error: File ./dist/index.js 不存在

转载 作者:行者123 更新时间:2023-12-04 02:57:51 24 4
gpt4 key购买 nike

当尝试部署到谷歌云功能时,我得到了响应

load error: File ./dist/index.js that is expected to define function doesn't exist

这是为什么?

最佳答案

它没有上传我的 dist 文件夹,因为它被 gitignored。在 .gcloudignore 中,我可以通过从文件中删除 #!include:.gitignore 来移除 gitignore 的添加。

关于预期定义函数的 GCloud Functions : load error: File ./dist/index.js 不存在,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52062359/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com