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

Remove Replace Directive in go.mod to allow global installs using go install #122

Closed
teddyknox opened this issue May 3, 2023 · 1 comment
Assignees

Comments

@teddyknox
Copy link

I came across this while building a CircleCI workflow for building Duality. Heighliner is not a one-line install because of the replace directive here: https://github.com/strangelove-ventures/heighliner/blob/main/go.mod#L85

I'm not sure what it's for but if it were removed it would resolve this error:

➜  go install github.com/strangelove-ventures/heighliner@latest
go: github.com/strangelove-ventures/heighliner@latest (in github.com/strangelove-ventures/heighliner@v1.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.
@agouin
Copy link
Member

agouin commented Oct 9, 2023

Resolved in #173

Released in v1.4.1

@agouin agouin closed this as completed Oct 9, 2023
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