jszip icon indicating copy to clipboard operation
jszip copied to clipboard

zip.generateAsync does (seemingly) nothing

Open elytrafae opened this issue 3 years ago • 5 comments

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): image

image

Is this an issue with the library, or am I doing something wrong here?

elytrafae avatar Aug 10 '22 08:08 elytrafae

I had the same problem. The version 3.7.1 is correct.

sinpor avatar Aug 15 '22 02:08 sinpor

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

Stuk avatar Aug 16 '22 16:08 Stuk

I have same issue, wait. image image "jszip": "3.7.1", "file-saver": "2.0.4",

zhangwuyang-github avatar Aug 18 '22 07:08 zhangwuyang-github

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.

AlphaLiu avatar Nov 03 '22 02:11 AlphaLiu

This seems to be a duplicate of #814.

hlovdal avatar Jan 26 '24 12:01 hlovdal