Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile erro #6

Open
Eleven711 opened this issue Nov 22, 2019 · 2 comments
Open

compile erro #6

Eleven711 opened this issue Nov 22, 2019 · 2 comments

Comments

@Eleven711
Copy link
Collaborator

I compiled it following the doc on dev branch and got a error:
go build -o ./build/og ./app
build github.com/annchain/OG/app: cannot load github.com/ugorji/go/codec: ambiguous import: found github.com/ugorji/go/codec in multiple modules:
github.com/ugorji/go v1.1.4 (/Users/ele/go/pkg/mod/github.com/ugorji/go@v1.1.4/codec)
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8 (/Users/ele/go/pkg/mod/github.com/ugorji/go/codec@v0.0.0-20181204163529-d75b2dcb6bc8)

Any idea? Thank you

@latifrons
Copy link
Contributor

Hi @Eleven711 ,

Thanks for your report.
This issue is caused by an upgrade on gin-gonic's ugorji library which broke the dependency.
We already fixed the problem on the latest commit.

Please also refer to
ugorji/go#303
gin-gonic/gin#1897
for more infomation.

@latifrons
Copy link
Contributor

5cc666d

latifrons referenced this issue Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants