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

Can't install on ubuntu 19.10 #109

Open
MAWSpitau opened this issue Jan 6, 2020 · 1 comment
Open

Can't install on ubuntu 19.10 #109

MAWSpitau opened this issue Jan 6, 2020 · 1 comment

Comments

@MAWSpitau
Copy link

MAWSpitau commented Jan 6, 2020

Hey there,

i tried to install this tool, but it does not work.

$ go get github.com/sachaos/todoist                                                                                                                                                                          
# github.com/sachaos/todoist
go/src/github.com/sachaos/todoist/close.go:14:16: cannot range over c.Args() (type cli.Args)
go/src/github.com/sachaos/todoist/completed.go:30:6: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/sachaos/todoist/delete.go:13:16: cannot range over c.Args() (type cli.Args)
go/src/github.com/sachaos/todoist/format.go:50:6: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/sachaos/todoist/format.go:53:6: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/sachaos/todoist/format.go:99:6: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/sachaos/todoist/labels.go:18:6: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/sachaos/todoist/list.go:62:6: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/sachaos/todoist/main.go:85:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
	cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/sachaos/todoist/main.go:89:15: cannot use cli.BoolFlag literal (type  cli.BoolFlag) as type cli.Flag in array or slice literal:
	cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/sachaos/todoist/main.go:89:15: too many errors
$ go version
go version go1.12.10 linux/amd64

What am I doing wrong?

Thanks
MAW

@pniedzwiedzinski
Copy link
Contributor

I reproduced it in docker with ubuntu:19:10 image. It's strange because when I cloned the repo and run go build it works. It looks like the problem is with go get.

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