Skip to content
>_VibeUnstuck

Stack

Next.js errors

These are App Router failures, not every bug that can appear in a Next.js repo. A hook in a Server Component. cookies(), headers(), or params used as a plain value when it is a Promise. A page that opts into dynamic rendering when you wanted a static build. A redirect thrown inside try/catch. useSearchParams without a Suspense boundary. The middleware file Next.js 16 wants you to replace with a proxy. next/image with the default loader under output: 'export', and a remote src whose hostname is not in next.config. process.env.NEXT_PUBLIC_ is undefined when the name, the prefix, or the restart is wrong. A secret that was given the NEXT_PUBLIC_ prefix on purpose is a different page, on the error index, because the value is public rather than missing.

Server versus client is not a separate article anymore. useState only works in a Client Component is the page, and it includes when to put "use client" on a small file instead of the layout. This hub does not list every React render crash or every Vercel setting. Hydration mismatch is here because it is the server HTML against the client render. If the message is a Supabase or Stripe string, use that hub. React render crashes that are not the Next.js hook error are on the React hub.

On this page

Every other fix is on the error index. Paste the first line of the message there.