changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
go install go.k6.io/xk6/cmd/xk6@v0.9.2
# if replace nebula-go, need to change nebula-go path
# /root/nebula-bench/gopath/bin/xk6 build v0.45.1 --with github.com/vesoft-inc/k6-plugin@latest=/root/nebula-bench/temp/k6-plugin/../k6-plugin \
# --replace github.com/vesoft-inc/nebula-go/v3=/home/Harris.chu/code/nebula-go;
/root/nebula-bench/gopath/bin/xk6 build v0.45.1 --with github.com/vesoft-inc/k6-plugin@latest=/root/nebula-bench/temp/k6-plugin/../k6-plugin ;
2024/09/23 23:29:55 [INFO] Temporary folder: /tmp/buildenv_2024-09-23-2329.3161005839
2024/09/23 23:29:55 [INFO] Initializing Go module
2024/09/23 23:29:55 [INFO] exec (timeout=10s): /root/nebula-bench/go/bin/go mod init k6
go: creating new go.mod: module k6
2024/09/23 23:29:55 [INFO] Replace github.com/vesoft-inc/k6-plugin => /root/nebula-bench/temp/k6-plugin/../k6-plugin
2024/09/23 23:29:55 [INFO] exec (timeout=0s): /root/nebula-bench/go/bin/go mod edit -replace github.com/vesoft-inc/k6-plugin=/root/nebula-bench/temp/k6-plugin/../k6-plugin
2024/09/23 23:29:55 [INFO] exec (timeout=0s): /root/nebula-bench/go/bin/go mod tidy -compat=1.17
flag provided but not defined: -compat
usage: go mod tidy [-e] [-v]
Run 'go help mod tidy' for details.
2024/09/23 23:29:55 [INFO] Cleaning up temporary folder: /tmp/buildenv_2024-09-23-2329.3161005839
2024/09/23 23:29:55 [FATAL] exit status 2
make: *** [build-dev] Error 1
mv: cannot stat ‘k6’: No such file or directory
make build-dev exec failed
Error log
Your Environments (required)
v1.1.6
1.16.6
CentOS 7