AMP in Next.js 16
Why it matters
AMP support (next/amp, config.amp) was removed in Next.js 16.
Fix
Remove the AMP config and imports; serve the regular page.
Credit
From the Next.js team
Removed AMP support in Next.js 16.
References
- How to upgrade to version 16Next.js
- Next.js 16Next.js