NUXT_B5001

Missing compatibilityDate

B5001

No compatibilityDate is set in your Nuxt configuration. Nuxt uses this date to decide which behaviour defaults to apply, so your project stays stable across Nuxt and Nitro updates instead of silently picking up new defaults.

Resolution

Add compatibilityDate to your nuxt.config, using today's date so you opt in to the current defaults:

export default defineNuxtConfig({
  // use the current date, e.g. the day you add this line
  compatibilityDate: 'YYYY-MM-DD',
})
Read more in Docs > Getting Started > Upgrade.
Was this helpful?