Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failing due to dependency error #124

Open
yashmehrotra opened this issue Feb 14, 2025 · 0 comments
Open

Build failing due to dependency error #124

yashmehrotra opened this issue Feb 14, 2025 · 0 comments

Comments

@yashmehrotra
Copy link

I tried running the build example in README and it is failing due to a dependency error.

$ go install go.k6.io/xk6/cmd/xk6@latest
$ xk6 build --with github.com/grafana/xk6-kubernetes
2025/02/14 23:47:44 INFO Building k6
2025/02/14 23:47:44 INFO Building new k6 binary (native)
2025/02/14 23:47:44 INFO Initializing Go module
go: creating new go.mod: module k6
2025/02/14 23:47:44 INFO Creating k6 main
2025/02/14 23:47:44 INFO adding dependency go.k6.io/k6@latest
go: finding module for package gopkg.in/tomb.v1
go: finding module for package github.com/fsnotify/fsnotify
go: found gopkg.in/tomb.v1 in gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: found github.com/fsnotify/fsnotify in github.com/fsnotify/fsnotify v1.8.0
2025/02/14 23:47:44 INFO importing extensions
2025/02/14 23:47:44 INFO adding dependency github.com/grafana/xk6-kubernetes
go: finding module for package go.k6.io/k6/lib/testutils
go: k6 imports
	github.com/grafana/xk6-kubernetes tested by
	github.com/grafana/xk6-kubernetes.test imports
	go.k6.io/k6/lib/testutils: module go.k6.io/k6@latest found (v0.57.0), but does not contain package go.k6.io/k6/lib/testutils
2025/02/14 23:47:45 INFO Cleaning up work directory /tmp/k6foundry588713455
2025/02/14 23:47:45 ERROR build error resolving dependency: executing go command: exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant