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

Bug: Overmind is not update #66

Closed
ricardopacheco opened this issue Jan 8, 2020 · 5 comments
Closed

Bug: Overmind is not update #66

ricardopacheco opened this issue Jan 8, 2020 · 5 comments

Comments

@ricardopacheco
Copy link

This problem happens in ubuntu/osx. When i run go get -u -f github.com/DarthSim/overmind, returns:

go/src/github.com/DarthSim/overmind/cmd_restart.go:21:55: cannot use c.Args() (type cli.Args) as type []string in argument to strings.Join
go/src/github.com/DarthSim/overmind/cmd_run.go:21:21: invalid operation: c.Args()[0] (type cli.Args does not support indexing)
go/src/github.com/DarthSim/overmind/cmd_run.go:26:18: cannot slice c.Args() (type cli.Args)
go/src/github.com/DarthSim/overmind/cmd_stop.go:21:52: cannot use c.Args() (type cli.Args) as type []string in argument to strings.Join
go/src/github.com/DarthSim/overmind/main.go:18:23: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in return argument:
	cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/DarthSim/overmind/main.go:20:3: unknown field 'EnvVar' in struct literal of type cli.StringFlag
go/src/github.com/DarthSim/overmind/main.go:36:18: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
	cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/DarthSim/overmind/main.go:36:37: unknown field 'EnvVar' in struct literal of type cli.StringFlag
go/src/github.com/DarthSim/overmind/main.go:37:18: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
	cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/DarthSim/overmind/main.go:37:40: unknown field 'EnvVar' in struct literal of type cli.StringFlag
go/src/github.com/DarthSim/overmind/main.go:37:18: too many errors

Go version go1.13.4 darwin/amd64
Go version go1.13.5 linux/amd64

@DarthSim
Copy link
Owner

GO111MODULE=on go get -u github.com/DarthSim/overmind should work. I'll update README

@DarthSim
Copy link
Owner

I have updated the package name, use GO111MODULE=on go get -u github.com/DarthSim/overmind/v2

@piotr-galas
Copy link

I am not so experienced in linux.
Is that command enough to make everything works GO111MODULE=on go get -u github.com/DarthSim/overmind/v2

After runnnig it I cannot access to overmind

zsh: command not found: overmind

Am I missing something? should I run it in the same directory I downloaded source?

On maxos it works great! I would like to use it on my private ubuntu as well.

@piotr-galas
Copy link

I finally manage to install it.

go command didn't work to me. I finally downloaded binary instead, added 777 permission and moved the file to /usr/local/bin

Probably obvious for most users but not for me. :)

@DarthSim
Copy link
Owner

@piotr-galas go get puts the binary into $GOBIN or into $GOPATH/bin in case the first is not set. Looks like you need to add it to your PATH.

Downloading precompiled binaries is an easier way to install Overmind for sure.

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