adm-zip
adm-zip copied to clipboard
extractAllTo skipping files
Hello, I've encountered the problem that i'm trying to unzip a node_modules directory that contains around 1200 folders, it does not unzip all files. Out of those 1200 folders, only 1166 were extracted. I've identified the folders in particular that do not get extracted and these do not have anything strange in them, they're not empty.
My code is:
var unzip = new zip(path + '/' + filename);
unzip.extractAllTo(path, true);
I'm using adm-zip 0.4.7 with node v 6.11.5 and npm 5.8.0 Thanks!
@L1qu1d1c3 I have the same issue on much more smaller set of files and folders
I have the same issue too, sometimes there is only root file which is empty
extractAllTo would use fs module,my problem is this, when fs.readFileSync is working somewhere else , extractAllTo can not work on every files
Also having this issue. I get this issue when extracting the boost c++ windows zip : https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.zip
I have the save issue. Both in osx and windows. Windows missing empty folder, and osx missing a lot of files.
This is my test zip:
https://registry.npmmirror.com/-/binary/nwjs/v0.82.0/nwjs-v0.82.0-win-x64.zip https://registry.npmmirror.com/-/binary/nwjs/v0.82.0/nwjs-v0.82.0-osx-x64.zip