函数计算这个问题怎么解决?go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f
go: github.com/Mr-Ao-Dragon/hellodoctor/verify imports
github.com/zhshch2002/goreq: github.com/zhshch2002/goreq@v0.0.0-20210608055943-7028cfd48a0d: invalid version: git ls-remote -q origin in /root/.gvm/pkgsets/go1.21.4/global/pkg/mod/cache/vcs/3149436425e023e6e601fcfe405c69a7de2250814d0b7293683352bcae7eb876: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
at ChildProcess.<anonymous> (/usr/src/node_modules/@serverless-cd/engine/lib/index.js:524:30)
at ChildProcess.emit (events.js:412:35)
at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
Cleaning up task
下载这个库需要身份认证,应用中心流水线是多租的,不会存用户的git身份信息,也不会执行git config --global 设置凭证,所以就报错了。你可以1,换github,2用云效,3自己构建 此回答整理自钉群“阿里函数计算客户【已满,加2群:64970014484】”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。