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

ambiguous import: consul #75

Open
tpltnt opened this issue May 11, 2021 · 0 comments
Open

ambiguous import: consul #75

tpltnt opened this issue May 11, 2021 · 0 comments

Comments

@tpltnt
Copy link

tpltnt commented May 11, 2021

Hi there,

I tried to build the server on a clean machine and it resulted in

foo% go install . 
build github.com/RichardKnop/go-oauth2-server: cannot load github.com/hashicorp/consul/api: ambiguous import: found github.com/hashicorp/consul/api in multiple modules:
	github.com/hashicorp/consul v1.4.2 (/home/test/go/pkg/mod/github.com/hashicorp/[email protected]/api)
	github.com/hashicorp/consul/api v1.1.0 (/home/test/go/pkg/mod/github.com/hashicorp/consul/[email protected])

How can this ambiguity be resolved?

Cheers
tpltnt

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

1 participant