8000 README: fix build instructions by starius · Pull Request #72 · elnosh/gonuts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

README: fix build instructions #72

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

Merged
merged 1 commit into from
Oct 24, 2024
Merged

Conversation

starius
Copy link
Contributor
@starius starius commented Oct 24, 2024

Direct installatino with go install <pkg-path> is not working, because replaces are used in go.mod file and Go doesn't support this.

$ go install github.com/elnosh/gonuts/cmd/nutw@latest go: downloading github.com/elnosh/gonuts v0.2.0
go: github.com/elnosh/gonuts/cmd/nutw@latest (in github.com/elnosh/gonuts@v0.2.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.

Direct installatino with `go install <pkg-path>` is not working, because
replaces are used in go.mod file and Go doesn't support this:
golang/go#44840

$ go install github.com/elnosh/gonuts/cmd/nutw@latest
go: downloading github.com/elnosh/gonuts v0.2.0
go: github.com/elnosh/gonuts/cmd/nutw@latest (in github.com/elnosh/gonuts@v0.2.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.
Copy link
Owner
@elnosh elnosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@elnosh elnosh merged commit db58e26 into elnosh:main Oct 24, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants
0