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

Compilation issue macOS. #1909

Closed
anborg opened this issue Jan 5, 2021 · 1 comment
Closed

Compilation issue macOS. #1909

anborg opened this issue Jan 5, 2021 · 1 comment

Comments

@anborg
Copy link

anborg commented Jan 5, 2021

Getting started:

 github.com % go get github.com/dexidp/dex
package github.com/dexidp/dex: no Go files in /Volumes/data01/projects/projects_go/src/github.com/dexidp/dex

 github.com % **go get github.com/dexidp/dex/...**
cannot find package "go.etcd.io/etcd/clientv3" in any of:
	/usr/local/opt/go/libexec/src/go.etcd.io/etcd/clientv3 (from $GOROOT)
	/Volumes/data01/projects/projects_go/src/go.etcd.io/etcd/clientv3 (from $GOPATH)
cannot find package "go.etcd.io/etcd/clientv3/namespace" in any of:
	/usr/local/opt/go/libexec/src/go.etcd.io/etcd/clientv3/namespace (from $GOROOT)
	/Volumes/data01/projects/projects_go/src/go.etcd.io/etcd/clientv3/namespace (from $GOPATH)

> github.com % echo $GOPATH
/Volumes/data01/projects/projects_go

> github.com % 

image

@sagikazarmark
Copy link
Member

Thanks for reporting. Dex adopted go modules which no longer requires you to use go get or to place a project in GOPATH.

You should simply clone the repo anywhere (but in GOPATH).

I've opened dexidp/website#78 to track the documentation issue.

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