Error with command '--out dashboard', using it for xk6 dashboard

An error appears after I try to run my spec file and use the parameter ‘–out dashboard’ basically to visualize the k6 result

I’d done:

Hi @himtanwar0503

It could be related to the fact that k6 refers to the global k6 installation. So to explicitly run the binary built on the previous stage.

For example: ./k6 run --out dashboard spec.js.

Hope that answers!


Hello @olegbespalov
Thank you for replying!

Yeah, the issue is happening because of the antivirus. I guess it’s blocking installing some of the files into my system. I just uninstall it and ran all the commands again.
And eureka, it worked!
But through CMD, still getting the same issue on VS code.

And thank you for your time!