Hello, I am developing my second Ghost theme named “Aakari”. Just before releasing the theme, I realized that Ghost is not allowing my theme to upload. I prepare the ZIP file of my theme with the
npm run package command. Which actually runs
gulp package .
The package task for Gulp is directly copied from the default Casper theme’s
gulpfile.js. Here is the console output of Ghost when uploading my theme:
As the error says, I tested the generated archive using 7-Zip and WinRAR and both say that it is a valid archive. I also manually prepared an archive using 7-Zip and did not apply any compression. But still, I get this error. Please help me solve it and release my theme. This is a free theme and the whole source code is available for anybody who would like to use it, on GitHub.
Update 2: Tired of creating the ZIP archive in a Linux environment.
A co-developer I work with pointed out this issue on GitHub. After reading and doing a bit of experiment, I decided to create the ZIP archive in a Linux environment. I used WSL (Windows Subsystem for Linux), and installed Ubuntu 18.04 and ran the
npm run package command once again.
And sadly, the ZIP file did not get accepted by Ghost.
- Version 2.5.0
- Environment development
- Database sqlite3
- Mail Native