You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERRO[0000] GoError: unknown module: k6/x/nats at go.k6.io/k6/js.(*requireImpl).require-fm (native) at webpack://k6-performance-testing/external%20commonjs%20%22k6/x/nats%22:1:34(156) at file:///Users/xxx/Documents/xxx/xxx-xxx-xxx/build/scenario.spec.js:539:12(3) hint="script exception"
And, when I build xk6 with xk6-nats: xk6 build --with github.com/ydarias/xk6-nats@latest
it gives me further this error:
`K6_INFLUXDB_ORGANIZATION=k6io \
K6_INFLUXDB_BUCKET=demo
K6_INFLUXDB_TOKEN=EEKpryGZk8pVDXmIuy484BKUxM5jOEDv7YNoeNZUbsNbpbPbP6kK_qY9Zsyw7zNnlZ7pHG16FYzNaqwLMBUz8g==
./k6 run -o xk6-influxdb=http://localhost:8086 ./build/scenario.spec.js
Init [--------------------------------------]
default [--------------------------------------]
ERRO[0000] invalid output type 'xk6-influxdb', available types are: cloud, csv, experimental-prometheus-rw, influxdb, json, statsd `
And, I removed the xk6 from the execution command, which furthere asked me to use the build with xk6 build --with github.com/grafana/xk6-output-influxdb
Hello,
I am trying to follow the instructions stated in README's docker-compose section and i get this error on step-2 (docker compose up -d)
`[+] Running 0/0
[+] Running 0/1Building 0.1s
[+] Building 1.8s (12/17) docker:desktop-linux
=> [k6 internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 452B 0.0s
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1) 0.0s
=> [k6 internal] load metadata for docker.io/library/alpine:3.20 0.0s
=> [k6 internal] load metadata for docker.io/library/golang:1.22-alpine3.20 1.2s
=> [k6 auth] library/golang:pull token for registry-1.docker.io 0.0s
=> [k6 internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [k6 builder 1/6] FROM docker.io/library/golang:1.22-alpine3.20@sha256:316ed04bea321c6a003f9ff2752d58454d0efa584e07d7173ce6dd9b0d50cd54 0.0s
=> => resolve docker.io/library/golang:1.22-alpine3.20@sha256:316ed04bea321c6a003f9ff2752d58454d0efa584e07d7173ce6dd9b0d50cd54 0.0s
=> [k6 internal] load build context 0.0s
=> => transferring context: 3.03kB 0.0s
=> CANCELED [k6 stage-1 1/4] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 0.6s
=> => resolve docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 0.6s
=> CACHED [k6 builder 2/6] WORKDIR /go/src/go.k6.io/k6 0.0s
=> CACHED [k6 builder 3/6] ADD . . 0.0s
=> ERROR [k6 builder 4/6] RUN apk --no-cache add git 0.5s
=> [k6 auth] library/alpine:pull token for registry-1.docker.io 0.0s
Could you please assist in whats wrong here?
Thanks a ton in advance!
The text was updated successfully, but these errors were encountered: