Go / Golang calling go generate ./... after oapi-codegen dependency update yields go not found
#31801
Replies: 2 comments
-
|
Hi there, This issue or discussion is missing some logs, making it difficult or impossible to help you. Depending on which situation applies follow one, some or all of these instructions. No logs at allIf you haven't posted any log yet, we need you to find and copy/paste the log into the issue template. Finding logs on hosted appSelect me to read instructionsIf you use the Mend Renovate app (GitHub):
Finding logs when self-hostingSelect me to read instructionsRead the Renovate docs, troubleshooting, self-hosted to learn how to find the logs. Insufficient logsSelect me to read instructionsIf you already gave us a log, and the Renovate team said it's not enough, then follow the instructions from the No logs at all section. Formatting your logsSelect me to read instructionsPlease put your logs in a If you feel the logs are too large to paste here, please use a service like GitHub Gist and paste the link here. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
|
Also seen in oapi-codegen/oapi-codegen#2157 (comment) + fixed in oapi-codegen/oapi-codegen#2159 #39455 would be the solution here, so we'll move discussion into there Also, hello from both an |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What would you like help with?
None
How are you running Renovate?
None
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitHub v38 (sha256:75305e13dfb91254974655b9ec13dbd41a16ee06693cec7b444389a4c107566b)
Please tell us more about your question or problem
Hi,
I'm trying to update the oapi-codegen utility which can be found in magic Go comments that look like this:
My probelm is that the go executable is not found when the
go generate ./...is called after the dependencies have been updated.The error message tells me
Command failed: go generate ./...\n/bin/sh: 1: go: not found\n.This is roughly my config file.
Beta Was this translation helpful? Give feedback.
All reactions