jesseduffield / jesseduffield/lazydocker

Installation fails on Fedora 38 with GO 1.20.8

Open
#491 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
52.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Installation of lazydocker using command `go install github.com/jesseduffield/lazydocker@latest` fails with the error:
```
$ go install github.com/jesseduffield/lazydocker@latest
# github.com/rivo/uniseg
go/pkg/mod/github.com/rivo/uniseg@v0.4.2/eastasianwidth.go:13:19: undefined: prN
go/pkg/mod/github.com/rivo/uniseg@v0.4.2/eastasianwidth.go:14:19: undefined: prNa
go/pkg/mod/github.com/rivo/uniseg@v0.4.2/eastasianwidth.go:15:19: undefined: prNa
go/pkg/mod/github.com/rivo/uniseg@v0.4.2/eastasianwidth.go:16:19: undefined: prNa
go/pkg/mod/github.com/rivo/uniseg@v0.4.2/eastasianwidth.go:17:19: undefined: prNa
go/pkg/mod/github.com/rivo/uniseg@v0.4.2/eastasianwidth.go:18:19: undefined: prNa
go/pkg/mod/github.com/rivo/uniseg@v0.4.2/eastasianwidth.go:19:19: undefined: prNa
go/pkg/mod/github.com/rivo/uniseg@v0.4.2/eastasianwidth.go:20:19: undefined: prNa
go/pkg/mod/github.com/rivo/uniseg@v0.4.2/eastasianwidth.go:21:19: undefined: prNa
go/pkg/mod/github.com/rivo/uniseg@v0.4.2/eastasianwidth.go:22:19: undefined: prNa
go/pkg/mod/github.com/rivo/uniseg@v0.4.2/eastasianwidth.go:22:19: too many errors
```

**To Reproduce**
Steps to reproduce the behavior:
1. Open terminal
2. Install go version 1.20.8 using `sudo dnf install golang`
3. Install lazydocker using `go install github.com/jesseduffield/lazydocker@latest`
5. See error

**Expected behaviour**
Installation should not fail and lazydocker should be installed.

**Screenshots**
![image](https://github.com/jesseduffield/lazydocker/assets/3295828/b70e1db5-8065-4499-8b70-cd1ebecb3ce9)

**Desktop (please complete the following information):**
- OS: Fedora 38
- Lazydocker Version: 0.23.1
- Linux Kernel: 6.5.6
- Go version: 1.20.8
- Platform: AMD64 / X86_64

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.