dongmaopiao0901 2019-09-23 16:26
浏览 1619

安装go模块失败并显示“无效:模块包含go.mod文件,因此主要版本必须兼容”

I'm trying to import from Jenkins-X/jx to customize some stuff a little bit.

I'm really new to go heads up

but trying to go get ./... fails.

my go.mod file

module github.com/my-org/my-project

go 1.13

require github.com/jenkins-x/jx v2.0.383

I get

... require github.com/jenkins-x/jx: version "v2.0.383" invalid: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2

which is because jx has a few requirements in its mod file

But I'm not sure what I have to do to actually download the module.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 多址通信方式的抗噪声性能和系统容量对比
    • ¥15 winform的chart曲线生成时有凸起
    • ¥15 msix packaging tool打包问题
    • ¥15 finalshell节点的搭建代码和那个端口代码教程
    • ¥15 Centos / PETSc / PETGEM
    • ¥15 centos7.9 IPv6端口telnet和端口监控问题
    • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
    • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
    • ¥20 海浪数据 南海地区海况数据,波浪数据
    • ¥20 软件测试决策法疑问求解答