-
Notifications
You must be signed in to change notification settings - Fork 60
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
Woke v0.18.0 fails to install from source due to replace directive #181
Comments
👋 Thanks for submitting your first issue! Please be sure to read and follow our Code of Conduct and Contributing guide. ⭐️ Is your org or open source project using |
Thanks for reporting @BlueMonday! Can you confirm what version of go you're encountering this error with? It seems like the It also seems like the documentation needs to be updated to support go's deprecation of |
Hello! Sorry, I should have included that. I confirmed that the issue occurs with these two specific Go versions: |
Thanks! I have two PRs open to resolve this:
|
This should be fixed in |
Thank you for the really quick turnaround! Really appreciate it! Will switch back to using latest. |
Hello! Recently we started running into issues installing woke. After some investigation it seems to be due to this recent change: #117.
Currently we are installing woke by running:
Unfortunately after the recent changes it now results in this error:
Reading through the woke docs, the recommended way to install from source is to run:
However, the recommended command results in a warning:
Reading through the document linked in the warning, it seems like this method will stop working in Go 1.18. The document recommends using
go install
instead. Unfortunatelygo install
doesn't like replace directives. I found this thread in the Go issue tracker discussing it: golang/go#44840. Please correct me if I have said anything that is incorrect or partially incorrect. This is my first time running into this issue with a tool.I didn't look into the context of why the replace directive was added to woke. I am not sure if it is easy to remove or if there is a better solution that achieves all of the desired goals.
My current workaround is to install v0.17.0 instead of latest.
The text was updated successfully, but these errors were encountered: