Firefoxos zipfile not readable/corrupted


#1

Hello,

I’m trying to package my app for firefoxos. I ran “ionic build firefoxos”, then results is a platforms/firefoxos/build/package.zip file. When I’m testing this package on the Marketplace validator (https://marketplace.firefox.com/developers/validator) I got 2 errors :

  • ZIP could not be read
  • Corrupt ZIP file

And when I check the archive with zip -T I got several errors :

lenny@lenny-Peppy:~/projets/ionic/utip/platforms/firefoxos/build$ zip -T package.zip
error: invalid compressed data to inflate lib/ionic/fonts/ionicons.eot
error: invalid compressed data to inflate lib/ionic/fonts/ionicons.woff
error: invalid compressed data to inflate lib/ionic/release/fonts/ionicons.eot
error: invalid compressed data to inflate lib/ionic/release/fonts/ionicons.woff
test of package.zip FAILED

zip error: Zip file invalid, could not spawn unzip, or wrong unzip (original files unmodified)

Anyone got success uploading a ionic-made package to the marketplace without these errors ?

Thanks,

lenny


#2

This is fixed in cordova-firefoxos 3.7.0, but not as a npm release for now…

https://git-wip-us.apache.org/repos/asf?p=cordova-firefoxos.git;a=commitdiff;h=0434f7d729682c3e6aa117c561ce6f67945b05d4