cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Verschueren (JIRA)" <>
Subject [jira] [Commented] (CB-8260) Error when unzipping build zip package
Date Fri, 20 Mar 2015 07:00:48 GMT


Sam Verschueren commented on CB-8260:

Hi Leo

Yes, it looks like it only happens with non-text files. What I did was creating the zip and
manually uploading my font-files (and I guess images aswell).

The code to generate the zip doesn't do much because it uses the adm-zip module. The only
thing is, is that adm-zip has a bug itself when zipping those files. As I suggested, they
could use node-archiver.

Maybe I should implement it and add a pull request on their github pages. Not sure if they
will accept it though.

> Error when unzipping build zip package
> --------------------------------------
>                 Key: CB-8260
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Browser
>            Reporter: Sam Verschueren
> When I build my project with 'cordova build browser', a zip file will be created under
the build folder. When I unzip that folder I get the following errors for certain files:
> error:  invalid compressed data to inflate
> It seems that the problem lays in the adm-zip module used to create that zip package.
Other people have reported the same issue in the issue tracker of adm-zip (
> This could be solved by using another archiver module like
as suggested by another user in the issue tracker of adm-zip.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message