Difference between revisions of "Runsim"
Jump to navigation
Jump to search
(9 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
[[go: go.mod file not found in current directory or any parent directory.]] | [[go: go.mod file not found in current directory or any parent directory.]] | ||
'go get' is no longer supported outside a module. | 'go get' is no longer supported outside a module. | ||
− | To build and install a command, use 'go install' with a version, | + | To build and install a command, use '[[go install]]' with a version, |
like 'go install example.com/cmd@latest' | like 'go install example.com/cmd@latest' | ||
For more information, see https://golang.org/doc/go-get-install-deprecation | For more information, see https://golang.org/doc/go-get-install-deprecation | ||
or run '[[go help get]]' or '[[go help install]]'. | or run '[[go help get]]' or '[[go help install]]'. | ||
+ | |||
+ | Solution: | ||
+ | [[go install]] github.com/cosmos/tools/cmd/[email protected] | ||
+ | |||
+ | |||
+ | [[go install]] runsim | ||
+ | package runsim is not in [[GOROOT]] (/usr/lib/go-1.18/src/runsim) | ||
== Related == | == Related == | ||
* <code>[[ag0]]</code> | * <code>[[ag0]]</code> | ||
+ | * <code>[[go.mod]]</code> | ||
+ | * <code>[[go get]]</code> | ||
+ | * {{R}} | ||
+ | == See also == | ||
+ | * {{go mod}} | ||
− | + | [[Category:GO]] |
Latest revision as of 09:34, 22 November 2022
Installing runsim... 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'. Solution: go install github.com/cosmos/tools/cmd/[email protected]
go install runsim package runsim is not in GOROOT (/usr/lib/go-1.18/src/runsim)
Related[edit]
See also[edit]
Advertising: