AMP in Next.js 16

next/no-amperrornextjs-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

References