Gawel91
Gawel91
NNuxt
Created by Gawel91 on 6/26/2024 in #❓・help
App failing in production
Hi! Got these errors in the pm2 logs while going on the website but I can't figure out what's wrong. The app finished building without problem and it was the same code and same node version in staging but it didn't fail there 🤔
[nuxt] [request error] [unhandled] [500] Cannot create property 'callHook' on string '8C37fagqQL'
at createNuxtApp (./.output/server/chunks/build/server.mjs:240:28)
at createNuxtAppServer (./.output/server/chunks/build/server.mjs:21320:18)
at entry$1 (./.output/server/chunks/build/server.mjs:21334:33)
at Object.renderToString (./.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs:173:25)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at ./.output/server/chunks/routes/renderer.mjs:247:21
at Object.handler (./.output/server/chunks/routes/renderer.mjs:19:22)
at Object.handler (./.output/server/chunks/runtime.mjs:3086:19)
at Server.toNodeHandle (./.output/server/chunks/runtime.mjs:3352:7)

[nuxt] [request error] [unhandled] [500] Cannot convert undefined or null to object
at Function.entries (<anonymous>)
at setResponseHeaders (./.output/server/chunks/runtime.mjs:2580:38)
at ./.output/server/chunks/routes/renderer.mjs:194:61
at Object.handler (./.output/server/chunks/routes/renderer.mjs:19:28)
at Object.handler (./.output/server/chunks/runtime.mjs:3015:24)
at Object.handler (./.output/server/chunks/runtime.mjs:3320:34)
at Object.handler (./.output/server/chunks/runtime.mjs:3086:31)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at toNodeHandle (./.output/server/chunks/runtime.mjs:3352:7)
at ufetch (./.output/server/chunks/runtime.mjs:3725:17)
[nuxt] [request error] [unhandled] [500] Cannot create property 'callHook' on string '8C37fagqQL'
at createNuxtApp (./.output/server/chunks/build/server.mjs:240:28)
at createNuxtAppServer (./.output/server/chunks/build/server.mjs:21320:18)
at entry$1 (./.output/server/chunks/build/server.mjs:21334:33)
at Object.renderToString (./.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs:173:25)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at ./.output/server/chunks/routes/renderer.mjs:247:21
at Object.handler (./.output/server/chunks/routes/renderer.mjs:19:22)
at Object.handler (./.output/server/chunks/runtime.mjs:3086:19)
at Server.toNodeHandle (./.output/server/chunks/runtime.mjs:3352:7)

[nuxt] [request error] [unhandled] [500] Cannot convert undefined or null to object
at Function.entries (<anonymous>)
at setResponseHeaders (./.output/server/chunks/runtime.mjs:2580:38)
at ./.output/server/chunks/routes/renderer.mjs:194:61
at Object.handler (./.output/server/chunks/routes/renderer.mjs:19:28)
at Object.handler (./.output/server/chunks/runtime.mjs:3015:24)
at Object.handler (./.output/server/chunks/runtime.mjs:3320:34)
at Object.handler (./.output/server/chunks/runtime.mjs:3086:31)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at toNodeHandle (./.output/server/chunks/runtime.mjs:3352:7)
at ufetch (./.output/server/chunks/runtime.mjs:3725:17)
1 replies
NNuxt
Created by Gawel91 on 4/15/2024 in #❓・help
Import types from another component
When I write an interface in a component and want to import it somewhere else, I get this error: Cannot find module '@/components/commons/inputs/AppRadioButtonGroup' or its corresponding type declarations. I tried moving the type into a separate file (not what I want ideally) but then I get a warning: Two component files resolving to the same name AppRadioButton Is there a good way to do this?
11 replies
NNuxt
Created by Gawel91 on 4/3/2024 in #❓・help
TypeScript in VSCode often failing
No description
14 replies
NNuxt
Created by Gawel91 on 2/20/2024 in #❓・help
Error only in production
No description
6 replies