jszip
jszip copied to clipboard
zip.generateAsync does (seemingly) nothing
Hi!
I am using the latest npm version of jszip. Currently, I am trying to save a new zip file with some data. I even made some test code, so I can figure out the basics, but sadly that doesn't work, either, despite it being almost identical to the code on the main website.
I am using Chrome, and as I mentioned before, I got the library through npm.
The code below generates the following results (and nothing more):


Is this an issue with the library, or am I doing something wrong here?
I had the same problem.
The version 3.7.1 is correct.
Was this working for you before? I'm not sure what would be happening here as the test suite is passing correctly, and runs in (headless) Chrome https://github.com/Stuk/jszip/runs/7641865226?check_suite_focus=true#step:7:203
I have same issue, wait.
"jszip": "3.7.1",
"file-saver": "2.0.4",
Hi, I also met this issue .
The jszip 3.10.1 stuck at generateAsync。
I use it with webpack 5.74.0.
But if I use jszip directly in my js file, like include https://raw.githubusercontent.com/Stuk/jszip/main/dist/jszip.min.js , the function works.
This seems to be a duplicate of #814.