dreamans / syncd

syncd是一款开源的代码部署工具,它具有简单、高效、易用等特点,可以提高团队的工作效率.
https://github.com/dreamans/syncd/tree/master/docs
MIT License
2.24k stars 372 forks source link

v2.00版本编译遇到multiple mdules问题 #154

Open sycute opened 3 years ago

sycute commented 3 years ago

github.com/dreamans/syncd imports github.com/gin-gonic/gin imports github.com/gin-gonic/gin/binding imports github.com/ugorji/go/codec: ambiguous import: found package github.com/ugorji/go/codec in multiple modules: github.com/ugorji/go v1.1.4 (/root/go/pkg/mod/github.com/ugorji/go@v1.1.4/codec) github.com/ugorji/go/codec v0.0.0-20190204201341-e444a5086c43 (/root/go/pkg/mod/github.com/ugorji/go/codec@v0.0.0-20190204201341-e444a5086c43) make: *** [build] Error 1 cp: cannot stat ‘/root/.syncd-repo/output’: No such file or directory

sycute commented 3 years ago

暂时修改了mod文件里的github.com/ugorji/go/codec为github.com/ugorji/go v1.1.4编译通过了

lzs66666 commented 1 year ago

楼上有用

taitaking commented 1 year ago

666啊,有用