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

Error when unzipping build zip package

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-browser
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: