Open angel-luis opened 6 months ago
Same with cmd / wsl :
WSL:
Running:
docker run --rm -it -u "$(id -u):$(id -g)" -v "${PWD}:/xk6" grafana/xk6 build v0.43.1 \
--with github.com/mostafa/xk6-kafka@v0.17.0 \
--with github.com/grafana/xk6-output-influxdb@v0.3.0
Output:
go: k6 imports
go.k6.io/k6/cmd imports
github.com/grafana/xk6-output-prometheus-remote/pkg/remotewrite imports
go.buf.build/grpc/go/prometheus/prometheus: unrecognized import path "go.buf.build/grpc/go/prometheus/prometheus": https fetch: Get "https://go.buf.build/grpc/go/prometheus/prometheus?go-get=1": dial tcp: lookup go.buf.build on 192.168.65.7:53: no such host
2024/03/12 08:12:18 [INFO] Cleaning up temporary folder: /tmp/buildenv_2024-03-12-0812.1004834908
2024/03/12 08:12:18 [FATAL] exit status 1
CMD:
docker run --rm -it -e GOOS=windows -v "%cd%:/xk6" ^
grafana/xk6 build v0.43.1 --output k6.exe ^
--with github.com/mostafa/xk6-kafka@v0.17.0 ^
--with github.com/grafana/xk6-output-influxdb@v0.3.0
go: k6 imports
go.k6.io/k6/cmd imports
github.com/grafana/xk6-output-prometheus-remote/pkg/remotewrite imports
go.buf.build/grpc/go/prometheus/prometheus: unrecognized import path "go.buf.build/grpc/go/prometheus/prometheus": https fetch: Get "https://go.buf.build/grpc/go/prometheus/prometheus?go-get=1": dial tcp: lookup go.buf.build on 192.168.65.7:53: no such host
2024/03/12 08:19:02 [INFO] Cleaning up temporary folder: /tmp/buildenv_2024-03-12-0818.3564371807
2024/03/12 08:19:02 [FATAL] exit status 1
Hello, I'm on apple macbook pro m2 and i can't build even with the --env arg as mentionned in README.
macOS 14.3.1 (Sonoma) - Apple M2
Tried the default command in the README:
I got this error: