strang1ato / tibivi

Terminal based, vim-like time managment tool
MIT License
37 stars 1 forks source link

Installation instructions don't work #8

Open atsaloli opened 1 year ago

atsaloli commented 1 year ago

Instructions for installing from source don't work with go version go1.18.4 linux/amd64:

[:~] $   go get -u github.com/strang1ato/tibivi
go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.
        To build and install a command, use 'go install' with a version,
        like 'go install example.com/cmd@latest'
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
[:~] 1 $

I tried using go install but ran into another issue:

[:~] $ go install github.com/strang1ato/tibivi@latest
go: downloading github.com/strang1ato/tibivi v1.0.2
go: github.com/strang1ato/tibivi@latest: github.com/strang1ato/tibivi@v1.0.2: parsing go.mod:
        module declares its path as: github.com/oltarzewskik/tibivi
                but was required as: github.com/strang1ato/tibivi
[:~] 1 $

This seems related to https://github.com/strang1ato/tibivi/commit/6e29ae1a5238d432678d45669bdcd02127ccbc71

I was able to install with the old username:

[:~] 1 $ go install github.com/oltarzewskik/tibivi@latest
go: downloading github.com/oltarzewskik/tibivi v1.0.2
go: downloading github.com/oltarzewskik/tibivi-gocui v0.0.1
go: downloading github.com/nsf/termbox-go v0.0.0-20200418040025-38ba6e5628f1
go: downloading github.com/mattn/go-runewidth v0.0.9
[:~] $
strang1ato commented 1 year ago

Fixed @atsaloli , now you can install tibivi via go.1.18 by: go install github.com/strang1ato/tibivi@latest