NuxtN
Nuxtβ€’2y ago
Gawel91

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)
Was this page helpful?