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

make install error #151

Open
Zibri opened this issue Jul 27, 2021 · 0 comments
Open

make install error #151

Zibri opened this issue Jul 27, 2021 · 0 comments
Labels

Comments

@Zibri
Copy link

Zibri commented Jul 27, 2021

make install

  • cd ./cmd/gotty-client
  • go install .

gotty-client/cmd/gotty-client

./main.go:22:5: app.Author undefined (type *cli.App has no field or method Author)
./main.go:23:5: app.Email undefined (type *cli.App has no field or method Email)
./main.go:41: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)
./main.go:44:10: unknown field 'EnvVar' in struct literal of type cli.BoolFlag
./main.go:46: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)
./main.go:49:10: unknown field 'EnvVar' in struct literal of type cli.BoolFlag
./main.go:51: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)
./main.go:54:10: unknown field 'EnvVar' in struct literal of type cli.BoolFlag
./main.go:56:17: 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)
./main.go:85:29: error is not a type
./main.go:56:17: too many errors
rules.mk:94: recipe for target 'go.install' failed
make: *** [go.install] Error 2

@Zibri Zibri added the bug label Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant