Closed taozi0818 closed 4 years ago
I can unzip a .zip file in Terminal with bash command, but use node-unzip. This file's size is 7.1 GB. Can it cause the failure? can not unzip it on both MacOS and Windows OS
.zip
node-unzip
fs.createReadStream(zipFile) .pipe(unzip.Parse()) .on('entry', (entry) => { let fileName = entry.path; entry.pipe(fs.createWriteStream(output)); }) .on('close', () => { // Do something }) .on('error', (err) => { // Handle error });
use yauzl to replace node-unzip
I can unzip a
.zip
file in Terminal with bash command, but usenode-unzip
. This file's size is 7.1 GB. Can it cause the failure? can not unzip it on both MacOS and Windows OS