【发布时间】:2019-10-09 10:12:39
【问题描述】:
当我部署云功能时,出现以下错误。
我正在使用 go mod,我能够从我的沙箱构建和运行所有集成测试,
其中一个云函数依赖使用私有github repo,
当我部署云功能时 去:github.com/myrepo/ptrie@v0.1.: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ em> 在 /builder/pkg/mod/cache/vcs/41e03711c0ecff6d0de8588fa6de21a2c351c59fd4b0a1b685eaaa5868c5892e:退出状态 128: 致命:无法读取“https://github.com”的用户名:终端提示已禁用
【问题讨论】:
-
这个问题被讨论了很多次,请看这个[1]线程,一些用户说他们在使用Go模块时找到了一个解决方法[2]。 [1]:github.com/golang/go/issues/26145 [2]:github.com/golang/go/issues/27254