Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go install complains about replace directive in go.mod #295

Closed
zs-ko opened this issue Oct 12, 2024 · 1 comment
Closed

go install complains about replace directive in go.mod #295

zs-ko opened this issue Oct 12, 2024 · 1 comment

Comments

@zs-ko
Copy link

zs-ko commented Oct 12, 2024

in go.mod after v3 the replace directive causes the install to error out

go install github.com/scylladb/gocqlx/v3/cmd/schemagen@v3.0.0
go: downloading github.com/scylladb/gocqlx/v3 v3.0.0
go: github.com/scylladb/gocqlx/v3/cmd/schemagen@v3.0.0 (in github.com/scylladb/gocqlx/v3@v3.0.0):
        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.
@sylwiaszunejko
Copy link
Collaborator

Please see #287

@sylwiaszunejko sylwiaszunejko closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants