pwa-studio: [bug]: Upward crashes on Image Optimization
Describe the bug When turning on the PWA Image optimization, the Upward Server crashes as soon as someone tries to load any image.
Error log shows:
events.js:174
throw er; // Unhandled 'error' event
^
Error: Input buffer contains unsupported image format
Emitted 'error' event at:
at sharp.pipeline (/usr/src/app/node_modules/sharp/lib/output.js:707:18)
error Command failed with exit code 1.
Expected behavior Image is shown to the customer and Optimized for the PWA.
Please complete the following device information:
- PWA Studio Version: 6.0.1
- NPM version
npm -v
: v6.13.4 - Node Version
node -v
: v10.18.1
Please let us know what packages this bug is in regards to:
-
venia-concept
-
venia-ui
-
pwa-buildpack
-
peregrine
-
pwa-devdocs
-
upward-js
-
upward-spec
-
create-pwa
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (16 by maintainers)
Commits related to this issue
- fix: PWA-666 Update hastily image optimizer. Fixes #2448. — committed to magento/pwa-studio by deleted user 4 years ago
- fix: PWA-666 Update hastily image optimizer. Fixes #2448. — committed to magento/pwa-studio by deleted user 4 years ago
- fix: PWA-666 Update hastily image optimizer. Fixes #2448. — committed to magento/pwa-studio by deleted user 4 years ago
- [PWA-666]: Update Hastily image optimizer (#2535) * fix(upward): ignoreSSLErrors should ignore ALL ssl errors * fix: PWA-666 Update hastily image optimizer. Fixes #2448. * fixup newest version ... — committed to magento/pwa-studio by deleted user 4 years ago
Created PWA-666