go
module_error
ai_generated
true
go: github.com/foo/[email protected]: 读取 github.com/foo/bar/go.mod 在版本 v1.2.3 时失败:未知修订版本
go: github.com/foo/[email protected]: reading github.com/foo/bar/go.mod at revision v1.2.3: unknown revision
ID: go/go-get-version-conflict
80%修复率
82%置信度
0证据数
2024-05-12首次发现
版本兼容性
| 版本 | 状态 | 引入 | 弃用 | 备注 |
|---|---|---|---|---|
| 1.15 | active | — | — | — |
根因分析
请求的模块版本在远程仓库中不存在,可能因为标签被删除或从未创建。
English
The requested module version does not exist in the remote repository, possibly because the tag was deleted or never created.
解决方案
-
85% 成功率
Check available tags with 'git ls-remote --tags https://github.com/foo/bar' and use an existing version.
-
60% 成功率
If the version was recently deleted, contact the maintainer or use a fork that has the version.
无效尝试
常见但无效的做法:
-
90% 失败
This does not affect version existence; the revision is genuinely absent.
-
70% 失败
Branches are not valid module versions unless they follow semver naming; this will cause other errors.