私有的依赖下载不了
来源:2-6 docker-compose yml编写和常见用法

zhg1992
2022-09-18
在 base目录下执行
go mod tidy
报错如下:
go: git.imooc.com/coding-535/common@v0.0.0-20220913123407-af94ee6eb5c3: invalid version: git ls-remote -q origin in /Users/xxx/go/lib/pkg/mod/cache/vcs/e751c79984ecd4b50c236bd2655472de34da8493a9bc6932b8ffb477107202a1: exit status 128:
Host key verification failed.
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/xxx/go/lib/pkg/mod/cache/vcs/e751c79984ecd4b50c236bd2655472de34da8493a9bc6932b8ffb477107202a1: exit status 128:
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
老师,这个要怎么解决啊
1回答
-
zhg1992
提问者
2022-09-18
原来需要先
git clone imooc的仓库
032023-02-03
相似问题