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

How to install lazykube with go command #60

Open
zhaoweiguo opened this issue Apr 21, 2021 · 0 comments
Open

How to install lazykube with go command #60

zhaoweiguo opened this issue Apr 21, 2021 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@zhaoweiguo
Copy link

I want to install lazykube with go command and find these issue:

➜ go install github.com/TNK-Studio/lazykube/cmd/lazykube@latest
go install github.com/TNK-Studio/lazykube/cmd/lazykube@latest: github.com/TNK-Studio/[email protected]
	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

~
➜ go get github.com/TNK-Studio/lazykube/cmd/lazykube
# github.com/TNK-Studio/lazykube/pkg/gui
9tool/go/pkg/mod/github.com/!t!n!k-!studio/[email protected]/pkg/gui/view.go:97:9: view.v.MouseDisable undefined (type *gocui.View has no field or method MouseDisable)
9tool/go/pkg/mod/github.com/!t!n!k-!studio/[email protected]/pkg/gui/view.go:99:9: view.v.OnCursorChange undefined (type *gocui.View has no field or method OnCursorChange)
# github.com/moby/term
9tool/go/pkg/mod/github.com/moby/[email protected]/tc.go:13:28: undefined: unix.SYS_IOCTL
9tool/go/pkg/mod/github.com/moby/[email protected]/tc.go:18:28: undefined: unix.SYS_IOCTL
9tool/go/pkg/mod/github.com/moby/[email protected]/termios_bsd.go:24:31: undefined: unix.SYS_IOCTL
9tool/go/pkg/mod/github.com/moby/[email protected]/termios_bsd.go:37:31: undefined: unix.SYS_IOCTL

~ took 8s
➜ go version
go version go1.16 darwin/amd64
  1. go install command seems like it doesn't allow replace directive in go.mod file.
  2. go get command seems like Mouse, Cursor ... gui things which i don't know, and can't find solution with google.
    I have done it by clone & go build.

PS:
README.md need be updated: $ go get -u github.com/TNK-Studio/lazykube doesn't work.

@elfgzp elfgzp added the documentation Improvements or additions to documentation label May 7, 2021
@elfgzp elfgzp self-assigned this May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants