How do i "run go build in root directory of project"? #129555
Unanswered
Rosey723
asked this question in
Programming Help
Replies: 1 comment 5 replies
-
Based on the error you encountered, it seems you're trying to execute the command in a directory without a go.mod file. This indicates you're not in the project's root directory, as specified in the repository's readme. Navigate to your cloned project's directory using cd, ensuring you're in the directory containing go.mod file, then try running go build. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I am trying to install https://github.com/21Bruce/resolved-bot?tab=readme-ov-file#readme.
I finally got go programming language running. I hit Code and downloaded as a zip and downloaded on GitHub Desktop. I can't figure out how to "run go build". When i try typing in go build in cmd i get "go: go.mod file not found in current directory or any parent directory; see 'go help modules'". I am new to Github so it's probably that but i need help installing this. Can someone tell me what i'm supposed to be doing to get this installed?
Beta Was this translation helpful? Give feedback.
All reactions