You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to install gotop using go install command returns the following error
command:
go install github.com/xxxserxxx/gotop/v4/cmd/gotop@latest
output
go: downloading github.com/xxxserxxx/gotop v1.0.1
go: downloading github.com/xxxserxxx/gotop/v4 v4.1.3
go: github.com/xxxserxxx/gotop/v4/cmd/gotop@latest (in github.com/xxxserxxx/gotop/[email protected]):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
Golang version:
go version go1.18.1 linux/amd64
ENV exports
export GOPATH=~/go
export PATH=$PATH:$GOPATH/bin
The text was updated successfully, but these errors were encountered:
It was removed in db95c9c but a newer version has not been released yet, so the latest version (4.1.3) has the replace directive, which prevents installing it with go install.
The problem should go away once a newer version is released, as go.mod does not have any more replace directives.
gotop version:
n/a
OS/Arch:
pop_os 22.04
5.16.19-76051619-generic GNU/Linux
Terminal emulator:
Gnome terminal
Any relevant hardware info:
Running on VirtualBox
tmux version:
n/a
Trying to install gotop using
go install
command returns the following errorcommand:
output
Golang version:
ENV exports
The text was updated successfully, but these errors were encountered: