-
-
Notifications
You must be signed in to change notification settings - Fork 342
Open
Description
Reproduction
Install latest nuxt (4.3) and enable compatibilityVersion to version 5
Steps to reproduce the bug
nuxt.config.ts
export default defineNuxtConfig({
future: {
compatibilityVersion: 5
},
modules: [
'nuxt-vuefire'
]
})Expected behavior
Should not throw any errors.
Actual behavior
TypeError {
stack: '(0 , __vite_ssr_import_0__.getApps) is not a function\n' +
'at ensureAdminApp (/Users/niklv/Projects/Fjor/billing-backoffice/node_modules/vuefire/dist/server/index.mjs:36:41)\n' +
'at /Users/niklv/Projects/Fjor/billing-backoffice/node_modules/nuxt-vuefire/dist/runtime/admin/plugin.server.js:12:68)\n' +
'at /Users/niklv/Projects/Fjor/billing-backoffice/node_modules/nuxt/dist/app/nuxt.js:156:60)\n' +
'at fn (/Users/niklv/Projects/Fjor/billing-backoffice/node_modules/nuxt/dist/app/nuxt.js:238:44)\n' +
' at AsyncLocalStorage.run (node:internal/async_local_storage/async_context_frame:63:14)\n' +
'at Object.callAsync (/Users/niklv/Projects/Fjor/billing-backoffice/node_modules/unctx/dist/index.mjs:68:29)\n' +
'at /Users/niklv/Projects/Fjor/billing-backoffice/node_modules/nuxt/dist/app/nuxt.js:241:56)\n' +
'at Object.runWithContext (/Users/niklv/Projects/Fjor/billing-backoffice/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4218:18)\n' +
'at callWithNuxt (/Users/niklv/Projects/Fjor/billing-backoffice/node_modules/nuxt/dist/app/nuxt.js'... 99 more characters,
message: '(0 , __vite_ssr_import_0__.getApps) is not a function',
}
Additional information
https://nuxt.com/docs/4.x/getting-started/upgrade#migration-to-vite-environment-api
brambekkers
Metadata
Metadata
Assignees
Labels
No labels