nodestream is not supported by this platform
following docs: zip .generateNodeStream({ type: 'nodebuffer', streamFiles: true }) .pipe(fs.createWriteStream('out.zip')) .on('finish', () => { // JSZip generates a readable stream with a "end" event, // but is piped here in a writable stream which emits a "finish" event. console.log('out.zip written.'); });
Doesn't work in node.js (v.14) , even when I downgraded jszip version to 3.2.0... Any help?
same problem
Same problem here! I'm using version 3.2.0 now, but I dont understand why NodeStream is not working on Browser now if compatibility is possible
I have still this issue when using webpack. How can this be fixed? Also I noted an old version of readable-stream in dependencies.