Open dimitrisfinas opened 2 years ago
I solved the issue by manually install go version 1.18 as explained here https://nextgentips.com/2021/12/23/how-to-install-go-1-18-on-ubuntu-20-04/ I think you should put GO v1.18 minimum as a requirement as the default version on my linux repository is v1.17
We'll update that, thank you!
Description
when running command "opentelemetry-collector-builder --config config/builder-config.yml", I got error: Error: failed to compile the OpenTelemetry Collector distribution: exit status 2. Output: "# github.com/lightstep/telemetry-generator/generatorreceiver/internal/topology\n../generatorreceiver/internal/topology/pickable.go:18:6: missing function body\n../generatorreceiver/internal/topology/pickable.go:18:23: syntax error: unexpected [, expecting (\n../generatorreceiver/internal/topology/pickable.go:20:2: syntax error: non-declaration statement outside function body\n../generatorreceiver/internal/topology/pickable.go:39:2: syntax error: non-declaration statement outside function body\nnote: module requires Go 1.18\n"
but when I followed instructions to install the builder, I encountered no issues
Reproduction URL
https://github.com/lightstep/telemetry-generator
Reproduction steps
Screenshots
Logs
Browsers
Chrome
OS
Linux