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

dep ensure fails with root project import: not found is GOPATH/src #1

Open
benjaminrclayton opened this issue Oct 12, 2018 · 1 comment

Comments

@benjaminrclayton
Copy link

benjaminrclayton commented Oct 12, 2018

From the README:
6. Run dep ensure to install all prerequisite packages needed to run the EBS.

Command run?

$ dep ensure
root project import: ..\developer-rig\animal-facts\ebs is not within any GOPATH/src

GOPATH

set GOPATH=..\developer-rig\animal-facts\ebs

I tried setting the GOPATH to other directories (like \animal-facts) but received the same error.

I admit I am not a GO expert by any means.

@ghost
Copy link

ghost commented Dec 6, 2020

Go newbie here, upon googling the following seems to build it at least, no dep needed.

cd ebs  # if you haven't already
go mod init $YOUR_FAV_MODULE_NAME  # I chose `github.com/twitchdev/animal-facts`, not sure about the go conventions.
go mod vendor
go build

Hope it gets merged by someone who knows what {s,/}he is doing.

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