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
go install github.com/writeas/writeas-cli/cmd/[email protected] -> go: github.com/writeas/writeas-cli/cmd/[email protected]: github.com/writeas/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/writeas/writeas-cli/v2")
#55
Open
canhand opened this issue
May 21, 2024
· 0 comments
Overview go get github.com/writeas/writeas-cli/cmd/writeas
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'.
Background go install github.com/writeas/writeas-cli/cmd/writeas
go: 'go install' requires a version when current directory is not in a module
Try 'go install github.com/writeas/writeas-cli/cmd/writeas@latest' to install the latest version go install github.com/writeas/writeas-cli/cmd/writeas@latest
go: downloading github.com/writeas/writeas-cli v0.1.1
go: github.com/writeas/writeas-cli/cmd/writeas@latest: module github.com/writeas/writeas-cli@latest found (v0.1.1), but does not contain package github.com/writeas/writeas-cli/cmd/writeas go install github.com/writeas/writeas-cli/cmd/[email protected]
go: github.com/writeas/writeas-cli/cmd/[email protected]: github.com/writeas/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/writeas/writeas-cli/v2") go install github.com/writeas/writeas-cli/cmd/writeas@v2
go: github.com/writeas/writeas-cli/cmd/writeas@v2: no matching versions for query "v2" go install github.com/writeas/writeas-cli/cmd/[email protected]
go: github.com/writeas/writeas-cli/cmd/[email protected]: no matching versions for query "v2.0"
Dependencies go env GOPATH
/Users/canhand/go go version
go version go1.22.0 darwin/arm64
The text was updated successfully, but these errors were encountered:
canhand
changed the title
go install github.com/writeas/writeas-cli/cmd/[email protected] [10:57:43] go: github.com/writeas/writeas-cli/cmd/[email protected]: github.com/writeas/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/writeas/writeas-cli/v2")
go install github.com/writeas/writeas-cli/cmd/[email protected] -> go: github.com/writeas/writeas-cli/cmd/[email protected]: github.com/writeas/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/writeas/writeas-cli/v2")
May 21, 2024
Overview
go get github.com/writeas/writeas-cli/cmd/writeas
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'.
Background
go install github.com/writeas/writeas-cli/cmd/writeas
go: 'go install' requires a version when current directory is not in a module
Try 'go install github.com/writeas/writeas-cli/cmd/writeas@latest' to install the latest version
go install github.com/writeas/writeas-cli/cmd/writeas@latest
go: downloading github.com/writeas/writeas-cli v0.1.1
go: github.com/writeas/writeas-cli/cmd/writeas@latest: module github.com/writeas/writeas-cli@latest found (v0.1.1), but does not contain package github.com/writeas/writeas-cli/cmd/writeas
go install github.com/writeas/writeas-cli/cmd/[email protected]
go: github.com/writeas/writeas-cli/cmd/[email protected]: github.com/writeas/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/writeas/writeas-cli/v2")
go install github.com/writeas/writeas-cli/cmd/writeas@v2
go: github.com/writeas/writeas-cli/cmd/writeas@v2: no matching versions for query "v2"
go install github.com/writeas/writeas-cli/cmd/[email protected]
go: github.com/writeas/writeas-cli/cmd/[email protected]: no matching versions for query "v2.0"
Dependencies
go env GOPATH
/Users/canhand/go
go version
go version go1.22.0 darwin/arm64
The text was updated successfully, but these errors were encountered: