Next.js Discord

Discord Forum

AWS Amplify Build failing from imported image not found in build files

Unanswered
Lincoln's Sparrow posted this in #help-forum
Open in Discord
Lincoln's SparrowOP
I receive the error in the image when I have AWS Amplify try to build a Next13 project. After further investigation, it is only happening with the static PNG file I have, and not any of the JPEGs or JPGs.

Wondering if i can get some guidance on how to fix this issue.

3 Replies

Lincoln's SparrowOP
UPDATE: I switched the file to a jpg version. wondering is the a problem with next/image processing png files?
Lincoln's SparrowOP
After updating my version of next to 13.2.4, it seemed to fix the issues with the PNG optimization
what about the latest version: v13.5.4 (does it still work?)