开发者社区 > 云原生 > Serverless > 正文

函数计算这个问题怎么解决?

函数计算这个问题怎么解决?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

展开
收起
三分钟热度的鱼 2024-08-07 20:00:54 18 0
1 条回答
写回答
取消 提交回答
  • 下载这个库需要身份认证,应用中心流水线是多租的,不会存用户的git身份信息,也不会执行git config --global 设置凭证,所以就报错了。你可以1,换github,2用云效,3自己构建 此回答整理自钉群“阿里函数计算客户【已满,加2群:64970014484】”

    2024-08-07 22:13:21
    赞同 1 展开评论 打赏

快速交付实现商业价值。

热门讨论

热门文章

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载