Nuxt · NUXT0073

Remove config ignored by Nuxt compatibility 5

Nuxt compatibility 5 ignores legacy unhead and error-data opt-outs.
NUXT0073vite-doctor/nuxtmigrationwarnSuggestion

Run this rule

pnpm nuxt doctor --rules nuxt/config/no-ignored-compatibility-config

Why it matters

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

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({})
Copyright © 2026