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

go build报错,求助 #1

Open
raoxinyi opened this issue Dec 6, 2017 · 3 comments
Open

go build报错,求助 #1

raoxinyi opened this issue Dec 6, 2017 · 3 comments

Comments

@raoxinyi
Copy link

raoxinyi commented Dec 6, 2017

root@debian:~/go/src/github.com/gogap/bearychat/outgoing/cmd/outgoing# go build
flags.go:4:2: cannot find package "github.com/urfave/cli" in any of:
/usr/local/go/src/github.com/urfave/cli (from $GOROOT)
/root/go/src/github.com/urfave/cli (from $GOPATH)
main.go:11:2: cannot find package "github.com/urfave/negroni" in any of:
/usr/local/go/src/github.com/urfave/negroni (from $GOROOT)
/root/go/src/github.com/urfave/negroni (from $GOPATH)

目录有问题?

@xujinzheng
Copy link
Member

在本project目录下执行一下 go get -v,然后再编译

@btfak
Copy link

btfak commented Dec 6, 2017

xujin 同学说得对

@raoxinyi
Copy link
Author

raoxinyi commented Dec 9, 2017

已经弄好了,感谢!

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

3 participants