Closed j-petit closed 3 years ago
I get the following build error. Any ideas?
jpetit@carpo ➜ go-test xk6 build --with github.com/gjergjsheldija/xk6-mllp=. 2021/02/23 16:14:46 [INFO] Temporary folder: /tmp/buildenv_2021-02-23-1614.481142709 2021/02/23 16:14:46 [INFO] Writing main module: /tmp/buildenv_2021-02-23-1614.481142709/main.go 2021/02/23 16:14:46 [INFO] Initializing Go module 2021/02/23 16:14:46 [INFO] exec (timeout=10s): /usr/bin/go mod init k6 go: creating new go.mod: module k6 2021/02/23 16:14:46 [INFO] Replace github.com/gjergjsheldija/xk6-mllp => /home/jpetit/programming/go-test 2021/02/23 16:14:46 [INFO] exec (timeout=10s): /usr/bin/go mod edit -replace github.com/gjergjsheldija/xk6-mllp=/home/jpetit/programming/go-test 2021/02/23 16:14:46 [INFO] Pinning versions 2021/02/23 16:14:46 [INFO] exec (timeout=0s): /usr/bin/go get -d -v github.com/loadimpact/k6 go: github.com/loadimpact/k6 upgrade => v0.30.0 2021/02/23 16:14:46 [INFO] Build environment ready 2021/02/23 16:14:46 [INFO] Building k6 2021/02/23 16:14:46 [INFO] exec (timeout=0s): /usr/bin/go build -o /home/jpetit/programming/go-test/k6 -ldflags -w -s -trimpath go: finding module for package github.com/gjergjsheldija/xk6-mllp main.go:9:2: module github.com/gjergjsheldija/xk6-mllp@latest found (v0.0.4, replaced by /home/jpetit/programming/go-test), but does not contain package github.com/gjergjsheldija/xk6-mllp 2021/02/23 16:14:46 [INFO] Cleaning up temporary folder: /tmp/buildenv_2021-02-23-1614.481142709 2021/02/23 16:14:46 [FATAL] exit status 1
you don't need the go-test. just go xk6 build..
go-test
xk6 build..
I get the following build error. Any ideas?