gotty icon indicating copy to clipboard operation
gotty copied to clipboard

go install on latest fails

Open sigmonsays opened this issue 3 years ago • 2 comments

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/[email protected]: 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

sigmonsays avatar Feb 03 '22 20:02 sigmonsays

Also fails on the same for go install github.com/yudai/[email protected]

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

Alternatively, I guess we can fork and install the fork

dsschneidermann avatar Feb 09 '22 17:02 dsschneidermann

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

ghthor avatar Feb 26 '22 20:02 ghthor

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

pataquets avatar Apr 27 '23 16:04 pataquets

we can close this.

sigmonsays avatar Apr 27 '23 18:04 sigmonsays