stocky-tiger-66593
08/02/2024, 12:57 AM[golang]
minimum_expected_version = "1.22"
go_search_paths = [
"/opt/homebrew/bin",
"/usr/local/bin",
"/usr/local/sbin",
"/usr/sbin",
"/usr/bin",
"/sbin",
"/bin"
]
the error (from running pants package ::
):
20:48:51.76 [ERROR] 1 Exception encountered:
Engine traceback:
in `package` goal
BinaryNotFoundError: Cannot find any `go` binaries using the option `[golang].go_search_paths`: ['/opt/homebrew/bin']
To fix, please install Go (<https://golang.org/doc/install>) with the version 1.22 or newer (set by `[golang].minimum_expected_version`). Then ensure that it is discoverable via `[golang].go_search_paths`.
Unless im misunderstanding something or being silly (likely), i think I’ve set this correctly:
✗ which go
/opt/homebrew/bin/go
✗ go version
go version go1.22.5 darwin/arm64
Any help is much appreciated, as always. Thank you!