-
Notifications
You must be signed in to change notification settings - Fork 116
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
Next.js build error: CloudFront input failed validation. Could not find next.js pages for "_next/image*" #3460
Comments
Hi @dstout-current apologies for the delay here but it looks like your most recent builds has been successful. Were able to find the cause of the issue? Also, you mentioned migrating to WEB_COMPUTE resulted in some errors. What errors were you running into? |
This particular error seemingly went away on its own the next day without any changes. We had several issues with WEB_COMPUTE - calls to Next APIs stopped working (returned 503 cloudflare error) and dynamic pages (e.g. pages/[postid].js) weren't getting included in the build (would return 404). Downgrading back to web dynamic fixed those issues |
I am going to close this thread as the original issue is resolved. Also, reviewed the latest build (67) on the |
This issue is now closed. Comments on closed issues are hard for our team to see. |
This issue has been automatically locked. |
Before opening, please confirm:
App Id
d2gggx07fsqlf1
AWS Region
us-east-1
Amplify Hosting feature
Frontend builds
Describe the bug
Suddenly new builds are failing with this error in the Frontend build logs:
I reverted to an old commit and pushed that with no changes, and that new build also failed, even though it had originally succeeded.
Expected behavior
This error should not occur.
Reproduction steps
The version of
next
in package.json is "12.3.4"The app in Amplify is still using the "Web dynamic" platform because "Web Compute" caused other errors.
Build Settings
amplify.yml uncustomized
Log output
Additional information
No response
The text was updated successfully, but these errors were encountered: