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
After forking the repository for adding a new package nodes, the make command failed because it was still referencing the xk6-kubernetes package from the github repository:
github.com/grafana/xk6-kubernetes/pkg/nodes: module github.com/grafana/xk6-kubernetes@latest found (v0.0.0-20220330204656-f40616db6d32), but does not contain package github.com/grafana/xk6-kubernetes/pkg/nodes
Removing the --with option in the k6 build command in the Makefile solves the issue.
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ clean:
## build: Builds a custom 'k6' with the local extension.
build:
go install go.k6.io/xk6/cmd/xk6@latest
- xk6 build --with github.com/grafana/xk6-output-prometheus-remote=.
+ xk6 build
After forking the repository for adding a new package
nodes
, themake
command failed because it was still referencing the xk6-kubernetes package from the github repository:Removing the
--with
option in thek6 build
command in the Makefile solves the issue.This behavior is unexpected as
xk6
should add the current module to the list of replaced modules.The text was updated successfully, but these errors were encountered: