New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ionic build --release browser generates broken zip archive #472
Comments
Greetings @caiiiycuk! I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further. Thank you for allowing me to assist you. |
Errors are still there with ionic 1.2.1, when I test a zip file on Ubuntu I still have the same errors on a build browser release. |
+1 |
same with 1.2.4 on windows7, extracting the zip with winrar 5.31:
|
for me the same with 1.7.16 |
This is definitely still a problem. I just ran into it myself. |
I think someone should open new issue instead of this. I don`t want to open issue, because i don't use ionic anymore. |
ionic --version same here: zip -T platforms/browser/build/package.zip ; echo $?
error: invalid compressed data to inflate ./build/fonts/noto-sans-bold.ttf
error: invalid compressed data to inflate ./build/fonts/noto-sans-regular.ttf
error: invalid compressed data to inflate ./build/fonts/roboto-light.ttf
error: invalid compressed data to inflate ./build/fonts/roboto-medium.ttf
error: invalid compressed data to inflate ./build/fonts/roboto-regular.ttf
error: invalid compressed data to inflate ./img/appicon.png
error: invalid compressed data to inflate ./img/themes/1/001.jpg
error: invalid compressed data to inflate ./img/themes/1/002.png
test of platforms/browser/build/package.zip FAILED
zip error: Zip file invalid, could not spawn unzip, or wrong unzip (original files unmodified)
8 |
+1 |
The same with the most recent ionic cli |
Still closed and won't be fixed? |
I also have this problem |
I'm having the same issue |
Please reopen, this is still a problem. |
+1 |
FYI this is not an ionic bug, rather than Cordova-browser bug. In order to have not broken zip archive you can install the patched version from this PR apache/cordova-browser#25 IDK why the original maintainers haven't fixed it yet. |
In case it wasn't clear yet, a work around is to just use the files located in |
platforms/browser/build/package.zip still has the same issue in ionic 3.0.1. It cannot be unzip. Using Ubuntu 16.04. Working around by manually zipping platforms/browser/www/. |
How to reproduce:
Error:
error: invalid compressed data to inflate ./lib/ionic/fonts/ionicons.ttf test of platforms/browser/build/package.zip FAILED
We want to build CI system for our ionic app, but we can`t because exit code of unzip process is not zero.
The text was updated successfully, but these errors were encountered: