Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8260

Error when unzipping build zip package

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • cordova-browser
    • None

    Description

      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 (https://github.com/cthackers/adm-zip/issues/102).

      This could be solved by using another archiver module like https://github.com/ctalkington/node-archiver as suggested by another user in the issue tracker of adm-zip.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Curahee Sam Verschueren
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: