cosmos-sdk icon indicating copy to clipboard operation
cosmos-sdk copied to clipboard

Cosmovisor v.1.2.0 can't be installed from cli

Open RaulBernal opened this issue 2 years ago • 2 comments

Summary of Bug

Cosmovisor v.1.2.0 can't be installed from cli following the main readme doc instructions:

go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@latest

or

go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/[email protected]

This is the outputs in different OS (ubuntu server 20 & iOS) Linux:

go: downloading github.com/cosmos/cosmos-sdk v0.46.0
go: downloading github.com/cosmos/cosmos-sdk/cosmovisor v1.2.0
go: github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@latest (in github.com/cosmos/cosmos-sdk/[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.

iOS:

go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/[email protected]
go: downloading github.com/cosmos/cosmos-sdk/cosmovisor v1.2.0
go: github.com/cosmos/cosmos-sdk/cosmovisor/cmd/[email protected] (in github.com/cosmos/cosmos-sdk/[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.

Version

v.1.2.0

Steps to Reproduce

Try to install using go install go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/[email protected]

RaulBernal avatar Aug 04 '22 09:08 RaulBernal

Thanks for the issue. You can use make cosmovisor as workaround while we investigate.

julienrbrt avatar Aug 04 '22 10:08 julienrbrt

Ok no problem, only testing the doc and links.

RaulBernal avatar Aug 04 '22 14:08 RaulBernal

Awesome! Works:

bash-3.2$ go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@latest
go: downloading github.com/cosmos/cosmos-sdk/cosmovisor v1.3.0
go: downloading github.com/rs/zerolog v1.28.0
go: downloading github.com/cosmos/cosmos-sdk v0.46.0-beta2.0.20220909113810-4882f933b1a1
go: downloading google.golang.org/genproto v0.0.0-20220725144611-272f38e5d71b
go: downloading google.golang.org/grpc v1.49.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.16
go: downloading golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab
go: downloading cosmossdk.io/math v1.0.0-beta.3
go: downloading github.com/tendermint/tendermint v0.37.0-alpha.2
go: downloading github.com/cosmos/gogoproto v1.4.1
go: downloading github.com/spf13/viper v1.13.0
go: downloading golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/prometheus/client_golang v1.13.0
go: downloading github.com/armon/go-metrics v0.4.1
go: downloading github.com/subosito/gotenv v1.4.1
go: downloading gopkg.in/ini.v1 v1.67.0
go: downloading github.com/pelletier/go-toml/v2 v2.0.5
go: downloading github.com/prometheus/procfs v0.8.0
go: downloading github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0
bash-3.2$ cosmovisor version
cosmovisor version: v1.3.0 

RaulBernal avatar Sep 12 '22 07:09 RaulBernal