You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Nuxt app fully broken with Nuxt 4.6.2 and compatibilityVersion: 5 #4175
The dev server doesnt start with Nuxt 4.6.2 and compatibilityVersion: 5
[nitro] ERROR RollupError: ../../node_modules/.bun/@nuxtjs+i18n@10.6.0+76ccdd62dc937518/node_modules/@nuxtjs/i18n/dist/runtime/shared/utils.js (1:9): "useRuntimeConfig" is not exported by "virtual:#imports", imported by "../../node_modules/.bun/@nuxtjs+i18n@10.6.0+76ccdd62dc937518/node_modules/@nuxtjs/i18n/dist/runtime/shared/utils.js".
import { useRuntimeConfig } from "#imports";
^
import { isString } from "@intlify/shared";
export function useRuntimeI18n(nuxtApp, event) {
Additional context
With compatibilityVersion: 5, Nuxt 4.6 turns Nitro auto imports off by default, so Nitro's import presets (including useRuntimeConfig) are removed from the server-side #imports but @nuxtjs/i18n is still importing from #imports
Activity
caiotarifa commentedon Oct 28, 2026
I can confirm the issue, same problem here.
Workaround: