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

Absolute paths (without scheme) on windows do not work on not windows #3867

Open
mstoykov opened this issue Jul 19, 2024 · 0 comments
Open
Labels

Comments

@mstoykov
Copy link
Contributor

Brief summary

If you have a script on windows that opens or imports a file with an absolute path such as "C:/somewhere/test.js" - that will work okay on windows, but if you do k6 archive and give it to a friend on a none windows machine - it will break.

AFAIK this is the only such case.

This works with file:///C:/somewhere/test.js

This also means this doesn't work for k6 cloud ... as it will basically archive it and send it to GCk6 which happens to not be running windows.

k6 version

all

OS

complicated

Docker version and image (if applicable)

No response

Steps to reproduce the problem

On a windows machine use C:/somewhere/test.js

Expected behaviour

It works with k6 cloud and k6 archive + k6 run on a not windows machine

Actual behaviour

Error that it can't be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant