jszip icon indicating copy to clipboard operation
jszip copied to clipboard

nodestream is not supported by this platform

Open vooit opened this issue 4 years ago • 3 comments

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?

vooit avatar May 12 '21 20:05 vooit

same problem

xhxhxhxh avatar Jun 25 '21 09:06 xhxhxhxh

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

carlossalasamper avatar Oct 14 '21 11:10 carlossalasamper

I have still this issue when using webpack. How can this be fixed? Also I noted an old version of readable-stream in dependencies.

ecofi avatar Mar 03 '24 19:03 ecofi