**totalEntries** was not declared, throwing error at this line. to fix, I just put let at begin in this line. let totalEntries = 0; this situation was introced at this comit: https://github.com/cthackers/adm-zip/blame/161a61f2283b96bbe692a7c5d232787636e8b3bc/zipFile.js#L259