Open sycute opened 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
暂时修改了mod文件里的github.com/ugorji/go/codec为github.com/ugorji/go v1.1.4编译通过了
楼上有用
666啊,有用
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