maaslalani / slides

Terminal based presentation tool
http://maaslalani.com/slides/
MIT License
9.58k stars 263 forks source link

Go Install fails to install on Fedora #252

Closed Jonathan-Zollinger closed 1 year ago

Jonathan-Zollinger commented 1 year ago

Describe the bug I'm unable to install slides via the documented instructions for go

To Reproduce Steps to reproduce the behavior:

see environment for os and software versions

  1. call go install github.com/maaslalani/slides@latest

Environment

Go version

go version go1.20.4 linux/amd64

Terminal

 kitty --version
kitty 0.28.1 created by Kovid Goyal

OS

Fedora 38 (i3 wm if that makes a difference)

/etc/os-release ``` NAME="Fedora Linux" VERSION="38 (Workstation Edition)" ID=fedora VERSION_ID=38 VERSION_CODENAME="" PLATFORM_ID="platform:f38" PRETTY_NAME="Fedora Linux 38 (Workstation Edition)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:38" DEFAULT_HOSTNAME="fedora" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f38/system-administrators-guide/" SUPPORT_URL="https://ask.fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=38 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=38 SUPPORT_END=2024-05-14 VARIANT="Workstation Edition" VARIANT_ID=workstation ```

Expected behavior slides is installed after calling the appropriate installer command

error output

 go install github.com/maaslalani/slides@latest
go: downloading github.com/muesli/termenv v0.12.1-0.20220615005108-4e9068de9898
go/pkg/mod/github.com/charmbracelet/bubbletea@v0.21.1-0.20220623121936-ca32c4c62873/screen.go:7:2: github.com/muesli/termenv@v0.12.1-0.20220615005108-4e9068de9898: invalid version: unknown revision 4e9068de9898

Additional context see environment .

the output from the install attempt seems to be an issue with the termenv dependency, whether the versioning is off or the termenv installer is bad (or something else) I dunno.

maaslalani commented 1 year ago

Hey @Jonathan-Zollinger can you try again with:

go install github.com/maaslalani/slides@main
Jonathan-Zollinger commented 1 year ago

Hi @maaslalani, that worked great! do you want me to close this? I feel bad this was such a simple fix, but I'm glad it didn't take much on your end.

JKomoroski commented 4 months ago

Ran into this today.