node-html2epub
node-html2epub copied to clipboard
.DS_STORE is missing
Generated epub which had images (sub folder /media with png and jags). Validation kicked out error:
ERROR in "XXXXX.epub":
resource 'EPUB/.DS_Store' is missing
The content.opf file lists the .ds_store file in the manifest, but is not in the archive. The listing in the content.opf file is:
<item id="res_01" media-type="application/octet-stream" href=".DS_Store" />
If I go and delete the original file and remake the epub, all ok.
You should not add .DS_Store to an epub file. Those are Mac specific data files and they are invisible when you do a directory listing.
They should be excluded before build with a command similar to this on my Mac:
find . -name '*.DS_Store' -type f -ls -delete
There should be something equivalent for Windows.