pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.66k stars 279 forks source link

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

Closed AhmedRChuhdary closed 7 months ago

AhmedRChuhdary commented 7 months ago

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 commented 7 months ago

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

AhmedRChuhdary commented 7 months ago

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!