社区github上的代码运行go mod tidy 报错

RafaelShin · · 1506 次点击 · 开始浏览    置顶
这是一个创建于 的主题,其中的信息可能已经有所发展或是发生改变。

执行 go mod tidy 报错 go: finding module for package github.com/qiniu/rpc go: finding module for package github.com/qiniu/bytes/seekable github.com/studygolang/studygolang/logic imports github.com/qiniu/api.v6/conf imports github.com/qiniu/rpc: cannot find module providing package github.com/qiniu/rpc: module github.com/qiniu/rpc: git ls-remote -q origin in E:\GOPATH\pkg\mod\cache vcs\d83276858bc4e50f47255ca8de2bab88f57cf0626d77e30539152c9794dd8629: exit status 128: fatal: Cannot prompt because user interactivity has been disabled. 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. github.com/studygolang/studygolang/logic imports github.com/qiniu/api.v6/rs imports github.com/qiniu/api.v6/auth/digest imports github.com/qiniu/bytes/seekable: cannot find module providing package github.com/qiniu/bytes/seekable: module github.com/qiniu/bytes/seekable: git ls-remote -q o rigin in E:\GOPATH\pkg\mod\cache\vcs\9343a7564bb508f7f517b255feef5381fea307ce6fb5426727e018b089363563: exit status 128: fatal: Cannot prompt because user interactivity has been disabled. 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.

有疑问加站长微信联系(非本文作者)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

1506 次点击  
加入收藏 微博
2 回复  |  直到 2022-06-08 09:38:43
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传