grafana / xk6

Build k6 with extensions
Apache License 2.0
215 stars 20 forks source link

Build failed in Win10 Docker #83

Closed owllyi closed 10 months ago

owllyi commented 10 months ago

Build Env: Win10 X64, Docker Desktop

Build Command: docker run --rm -it -e GOOS=windows -v "%cd%:/xk6" grafana/xk6 build --output k6.exe --with github.com/topfreegames/xk6-pitaya=. --with github.com/topfreegames/pitaya/v2=../

Error Info:

go: finding module for package github.com/topfreegames/pitaya/v2/session go: finding module for package github.com/topfreegames/pitaya/v2/client go: finding module for package github.com/topfreegames/pitaya/v2 go: finding module for package github.com/topfreegames/pitaya/v2/conn/message k6 imports github.com/topfreegames/pitaya/v2: module github.com/topfreegames/pitaya/v2@latest found (v2.9.0, replaced by ../), but does not contain package github.com/topfreegames/pitaya/v2 k6 imports github.com/topfreegames/xk6-pitaya imports github.com/topfreegames/pitaya/v2/client: module github.com/topfreegames/pitaya/v2@latest found (v2.9.0, replaced by ../), but does not contain package github.com/topfreegames/pitaya/v2/client k6 imports github.com/topfreegames/xk6-pitaya imports github.com/topfreegames/pitaya/v2/conn/message: module github.com/topfreegames/pitaya/v2@latest found (v2.9.0, replaced by ../), but does not contain package github.com/topfreegames/pitaya/v2/conn/message k6 imports github.com/topfreegames/xk6-pitaya imports github.com/topfreegames/pitaya/v2/session: module github.com/topfreegames/pitaya/v2@latest found (v2.9.0, replaced by ../), but does not contain package github.com/topfreegames/pitaya/v2/session

How can I solve this problem? Thanks~