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 install on latest fails #321

Closed
sigmonsays opened this issue Feb 3, 2022 · 4 comments
Closed

go install on latest fails #321

sigmonsays opened this issue Feb 3, 2022 · 4 comments

Comments

@sigmonsays
Copy link

What version of GoTTY are you using (gotty --version)?

latest

What operating system and browser are you using?

linux and firefox

What did you do?

1 u@d1:~ λ  go install github.com/yudai/gotty@latest
go: finding module for package github.com/fatih/structs
go: finding module for package github.com/codegangsta/cli
go: finding module for package github.com/braintree/manners
go: finding module for package github.com/elazarl/go-bindata-assetfs
go: finding module for package github.com/gorilla/websocket
go: finding module for package github.com/kr/pty
go: finding module for package github.com/yudai/hcl
go: finding module for package github.com/yudai/umutex
go: found github.com/codegangsta/cli in github.com/codegangsta/cli v1.22.5
go: found github.com/fatih/structs in github.com/fatih/structs v1.1.0
go: found github.com/braintree/manners in github.com/braintree/manners v0.0.0-20160418043613-82a8879fc5fd
go: found github.com/elazarl/go-bindata-assetfs in github.com/elazarl/go-bindata-assetfs v1.0.1
go: found github.com/gorilla/websocket in github.com/gorilla/websocket v1.4.2
go: found github.com/kr/pty in github.com/kr/pty v1.1.8
go: found github.com/yudai/hcl in github.com/yudai/hcl v0.0.0-20151013225006-5fa2393b3552
go: found github.com/yudai/umutex in github.com/yudai/umutex v0.0.0-20150817080136-18216d265c6b
go: github.com/yudai/gotty imports
        github.com/codegangsta/cli: github.com/codegangsta/cli@v1.22.5: parsing go.mod:
        module declares its path as: github.com/urfave/cli
                but was required as: github.com/codegangsta/cli

What did you expect to see?

go get to compile and install gotty

What did you see instead?

module dependency error shown above

@dsschneidermann
Copy link

Also fails on the same for go install github.com/yudai/gotty@v1.0.1

The workaround is to clone this project and use go mod replace ... before installing?

Alternatively, I guess we can fork and install the fork

@ghthor
Copy link

ghthor commented Feb 26, 2022

Anyone have a clue which fork is being maintained the best?

@pataquets
Copy link

Duplicate of #331. @sigmonsays: since there is a bit more info there, mind closing your issue as duplicate? (although yours being reported first).

@sigmonsays
Copy link
Author

we can close this.

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

4 participants