please
please copied to clipboard
Error "Empty source path" when using go toolchain following Getting started with Go CodeLab
Hello, I'm hitting an issue where if I follow the Getting started with Go CodeLab I hit the following error:
plz-out/gen/go/build_defs/go.build_defs:497:12: error: Empty source path
provides['cover_vars'] = cover_vars
return build_rule(
^
name = name,
Traceback:
plz-out/gen/go/build_defs/go.build_defs:497:12: return build_rule(
plz-out/gen/go/build_defs/go.build_defs:614:11: lib = go_library(
src/BUILD: 3: 1: go_binary(
If I switch to using a local installation of Go. This error disappears and everything seems to work correctly.
Some information about my system:
- Please version 17.8.7
- Go plugin version v1.17.3
- Go version 1.22.4 - I've tried it with different version of go in the third_party/go build file.
- OS - macOS 14.5
This issue has been automatically marked as stale because it has not had any recent activity in the past 90 days. It will be closed if no further activity occurs. If you require additional support, please reply to this message. Thank you for your contributions.