Open
Description
One of my sites started throwing errors while it was live. During the debugging process, I discovered that the issue was related to nuxt-booster. Even when using the same versions as in another working project, it was still giving errors. I created an example from a blank starter using Stackblitz, and it’s still throwing the same error.
https://stackblitz.com/edit/nuxt-starter-k3rzmhtx?file=nuxt.config.ts,package.json
Listening on http://[::]:3000
[request error] [unhandled] [GET] http://localhost:3000/
TypeError: Cannot read properties of undefined (reading 'default')
at eval (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/build/server.mjs:24:30)
... 5 lines matching cause stack trace ...
at async Server.toNodeHandle (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/nitro/nitro.mjs:1928:7) {
cause: TypeError: Cannot read properties of undefined (reading 'default')
at eval (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/build/server.mjs:24:30)
at async eval (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/build/server.mjs:18:28)
at async Object.renderToString (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs:199:19)
at async Object.eval [as render] (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/routes/renderer.mjs:270:21)
at async Object.eval [as handler] (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/nitro/nitro.mjs:4732:22)
at async Object.eval [as handler] (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/nitro/nitro.mjs:1657:19)
at async Server.toNodeHandle (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/nitro/nitro.mjs:1928:7),
statusCode: 500,
fatal: false,
unhandled: true,
statusMessage: undefined,
data: undefined
}
[request error] [unhandled] [GET] http://localhost:3000/__nuxt_error?error=true&url=%2F&statusCode=500&statusMessage=Server+Error&message=Server+Error
TypeError: Cannot read properties of undefined (reading 'default')
at eval (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/build/server.mjs:24:30)
... 8 lines matching cause stack trace ...
at async errorhandler (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/nitro/nitro.mjs:4330:41) {
cause: TypeError: Cannot read properties of undefined (reading 'default')
at eval (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/build/server.mjs:24:30)
at async eval (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/build/server.mjs:18:28)
at async Object.renderToString (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs:199:19)
at async Object.eval [as render] (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/routes/renderer.mjs:270:21)
at async Object.eval [as handler] (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/nitro/nitro.mjs:4732:22)
at async Object.eval [as handler] (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/nitro/nitro.mjs:1657:19)
at async toNodeHandle (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/nitro/nitro.mjs:1928:7)
at async b (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/nitro/nitro.mjs:657:6958)
at async O (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/nitro/nitro.mjs:657:7241)
at async errorhandler (file:///home/projects/nuxt-starter-k3rzmhtx/.output/server/chunks/nitro/nitro.mjs:4330:41),
statusCode: 500,
fatal: false,
unhandled: true,
statusMessage: undefined,
data: undefined
}
Metadata
Metadata
Assignees
Labels
No labels