Nuxt · Migration

NUXT0073Remove config ignored by Nuxt compatibility 5

Nuxt compatibility 5 ignores legacy unhead and error-data opt-outs.

Why it happens

Nuxt compatibility 5 forces the new head and error-data behavior, so these legacy settings no longer change the runtime.

Fix

Remove unhead.legacy and experimental.parseErrorData, then update code for the Nuxt 5 behavior.

Example

Remove ignored compatibility settings

Before

export default defineNuxtConfig({
  unhead: { legacy: true },
  experimental: { parseErrorData: false },
})

After

export default defineNuxtConfig({})

Verify the fix

Run only this rule after editing so the report stays focused on the diagnostic you are closing:

pnpm nuxt doctor --rules nuxt/config/no-ignored-compatibility-config
Copyright © 2026