Closed kirillbunin closed 6 years ago
It seems there was a problem with the zip file downloaded form the rfg api. That zip file should contain a manifest.json
describing the generated favicon files and the files themselves. In your case it appears the zip file doesnt contain that manifest or maybe is empty.
Could you try to generate the favicons on the rfg website and see if that works? https://realfavicongenerator.net/
No, instead it contains site.webmanifest
. Apparently the API now returns "new & lighter" package https://realfavicongenerator.net/blog/new-favicon-package-less-is-more/
Thanks for checking, can you confirm that v0.4.1 solves this?
Btw, that blog post is actually from 2016 already so I am not sure why/how that file is renamed in the zip ;)
I've noticed that the blog post is outdated bit after posting it too :D Couldn't find a changelog for when they changed to .webmanifest
.
Either way, it works now!
For some reason Chrome doesn't load the icon now (unlike Safari, and Edge). But i don't think thats related here. I'll investigate later and I'm going to report it where it applies.
Thanks for a quick fix!
Not working for me. API does not return manifest.json file
My stack:
package.json
nuxt.config.js
I get this error on build:
https://github.com/pimlie/nuxt-rfg-icon/blob/9e332340255279d2ea1c3cc520549fc4b9677a4d/index.js#L255-L256
Not sure how to debug this, i figure the module has a problem reading manifest file?