-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
k6-es6 example not working #1282
Comments
@joostmeijles can you provide the script that doesn't work? |
@mstoykov I cloned Github repo and the followed the steps from the README:
Using Node v10.16.2 and K6 v0.26.0 (dev build, go1.13, windows/amd64) on Windows 10. |
I was mostly asking for the script that didn't work (or better smaller example that showcases it). Does the script work before you run it through k6-es6, because that will be an interesting problem as well? But in general, if it doesn't work without running it through k6-es6 it is very doubtful it will after. Also as it is mentioned k6-es6 is a proof-of-concept. I would really prefer it if we can extend it and make it work for everything, but it won't work for anything that k6 conceptually doesn't support |
The problem is that the example uses Simple fix would be to remove that and update the docs with the event loop limitations. |
Thank you for your report! I will have a look at this as soon as I get some time on my hands. 🙏🏼 |
I did try to make it work, as supposedly it should be able to,but all my tries were in vain. Fortunately @simskij who has some knowledge about how webpack works will have more success. |
Hey, I've been looking at this for the last couple of days and, unfortunately, it seems like we currently are unable to run xml2js, and cheerio for that matter, in The most memory efficient solution for now seems to be to run it without Simme |
For future reference: All of these tests have been run with
|
I've updated the docs as suggested. Closing this issue for now. Thank you for bringing this to our attention! |
The JS compatibility mode documentation (https://docs.k6.io/docs/javascript-compatibility-mode), points to an example that does not work: https://github.com/MStoykov/k6-es6
Running the k6-es6 example results in:
The text was updated successfully, but these errors were encountered: