Skip to content
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

Error: Unsupported MIME type: image/webp (No WebP image in manifest.json) #4596

Closed
AhmedRChuhdary opened this issue Dec 31, 2023 · 2 comments
Labels

Comments

@AhmedRChuhdary
Copy link

Link to the report card page

https://www.pwabuilder.com/reportcard?site=https://thear.com.pk

What Store were you trying to package for?

Android (Google Play)

What is the error message you received?

Internal Server Error: Status Code 500

Paste your stack trace below

The site I was testing is: https://thear.com.pk
Error: Unsupported MIME type: image/webp
at Jimp.throwError (/app/node_modules/@jimp/utils/dist/index.js:21:13)
at Jimp.parseBitmap (/app/node_modules/@jimp/core/dist/utils/image-bitmap.js:159:32)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

What environment were you using?

OS: Windows
Browser: Google Chrome
Version: 120.0.6099.130 (Official Build) (64-bit)

Additional context

I encountered an error while working on my project, which is puzzling because I didn't initially use any webp images in the manifest.json or service-worker. However, I recently introduced an SVG image to the project, and that's when the trouble started. Despite promptly removing the SVG image from the manifest, the issue persists, preventing me from successfully generating a package for the Play Store. It's worth noting that I've been consistently using PNG images throughout. I'm currently seeking assistance to understand and resolve this unexpected error in the packaging process.

@jgw96
Copy link
Contributor

jgw96 commented Jan 1, 2024

Hey! Did you add shortcuts before you ran into this issue?

@AhmedRChuhdary
Copy link
Author

Ah, thanks for pointing that out! I realized I had added a webp shortcut without noticing. I've removed it now and made sure that only PNG images are in use. I'll give it another shot and see if the packaging for the Play Store works smoothly. Appreciate your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants