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

Cannot install kompose via Go because of one or more replace directives #1522

Closed
valaparthvi opened this issue Sep 27, 2022 · 5 comments
Closed

Comments

@valaparthvi
Copy link

It is not possible to install kompose via go install because of multiple replace directives.

$ go version
go version go1.19.1 linux/amd64

$ go install github.com/kubernetes/kompose@latest
go: github.com/kubernetes/kompose@latest (in github.com/kubernetes/kompose@v1.26.1):
	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.

This is a known issue(golang/go#44840) with Go, but I am opening this issue if there is a possibility to replace the replace directives.

@sivchari
Copy link
Member

I'm also having trouble with the same error.

@fleadope
Copy link

Me too!

@cdrage
Copy link
Member

cdrage commented Jan 13, 2023

Didn't we fix this @AhmedGrati or am I remembering this wrong 🤣

@AhmedGrati
Copy link
Contributor

AhmedGrati commented Jan 14, 2023

@cdrage is this issue fixed by this PR?

@cdrage
Copy link
Member

cdrage commented Feb 8, 2023

Yeah, this is fixed now! Closing

@cdrage cdrage closed this as completed Feb 8, 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

5 participants