暂存第二代标准应用程序:捆绑失败

时间:2019-08-24 21:21:02

标签: google-app-engine go deployment gcloud

尝试将Go项目部署到Google App Engine(标准环境)时遇到问题。尝试运行gcloud app deploy时,所有.go文件都被复制到存储桶中,但此后出现错误:

 Staging second-gen Standard app: failed to bundle to c:\users\user\appdata\local\temp\tmprhpsm3\tmp6w7zeo: unable to copy directory ..\framework to _gopath\framework: unable to read dir "..\\framework": open ..\framework: The system cannot find the file specified.

framework代表本地软件包名称。软件包导入似乎是一个问题,我找不到解决该问题的方法。

任何帮助将不胜感激!

编辑

该问题已通过某种方式自行解决。我对GOPATH进行了一些更正,但是最终的解决方案使用了默认的GOPATH值。

0 个答案:

没有答案