请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

ssh:无法解析主机名 ssh:提供节点名称或服务名称,或未知

go: git.imooc.com/coding-535/common@v0.0.0-20220913123407-af94ee6eb5c3: invalid version: git ls-remote -q origin in /Users/xugang/go/pkg/mod/cache/vcs/e751c79984ecd4b50c236bd2655472de34da8493a9bc6932b8ffb477107202a1: exit status 128:
ssh: Could not resolve hostname ssh: nodename nor servname provided, or not known
fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

go: downloading git.imooc.com/coding-535/common v0.0.0-20220913123407-af94ee6eb5c3
go: git.imooc.com/coding-535/common@v0.0.0-20220913123407-af94ee6eb5c3: invalid version: git ls-remote -q origin in /Users/xugang/go/pkg/mod/cache/vcs/e751c79984ecd4b50c236bd2655472de34da8493a9bc6932b8ffb477107202a1: exit status 128:
ssh: Could not resolve hostname ssh: nodename nor servname provided, or not known
fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

正在回答 回答被采纳积分+3

2回答

Cap 2023-05-24 13:45:52
0 回复 有任何疑惑可以回复我~
  • 提问者 慕粉13598913215 #1
    如果把这个推荐前三门课程学习完成,这个包自己可以做吗
    回复 有任何疑惑可以回复我~ 2023-05-24 14:12:04
Cap 2023-05-24 13:45:15

使用go get 重新下一次后面不要带小版本

0 回复 有任何疑惑可以回复我~
  • 提问者 慕粉13598913215 #1
    # cd /Users/xugang/go/src/git.imooc.com/coding-535; git clone -- https://git.imooc.com/coding-535/common.git /Users/xugang/go/src/git.imooc.com/coding-535/common
    Cloning into '/Users/xugang/go/src/git.imooc.com/coding-535/common'...
    ssh: Could not resolve hostname ssh: nodename nor servname provided, or not known
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    package git.imooc.com/coding-535/common: exit status 128
    回复 有任何疑惑可以回复我~ 2023-05-24 14:10:18
  • 提问者 慕粉13598913215 #2
    还是不行啊
    回复 有任何疑惑可以回复我~ 2023-05-24 14:11:17
  • Cap 回复 提问者 慕粉13598913215 #3
    你这个是 git.imooc.com 都不通?
    回复 有任何疑惑可以回复我~ 2023-05-24 16:56:31
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信