N
Nuxtβ€’8mo ago
Shay Rosenfeld

Error with Worker after upgrading to 3.11

Hi. I tried to upgrade to 3.11 from 3.9.3, using the usual method with npx nuxi upgrade --force. However, after Nuxt loads vite and nitro, I get the following error:
ERROR [worker reload] [worker init] Cannot read properties of undefined (reading 'handler') 9:31:45 PM

at normalizeLayer (node_modules/h3/dist/index.mjs:2025:15)
at use (node_modules/h3/dist/index.mjs:1935:20)
at Object.use (node_modules/h3/dist/index.mjs:1908:32)
at createNitroApp (node_modules/nitropack/dist/runtime/app.mjs:125:9)
at <anonymous> (node_modules/nitropack/dist/runtime/app.mjs:151:25)
at ModuleJob.run (node:internal/modules/esm/module_job:217:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async loadESM (node:internal/process/esm_loader:34:7)
at async handleMainPromise (node:internal/modules/run_main:66:12)
ERROR [worker reload] [worker init] Cannot read properties of undefined (reading 'handler') 9:31:45 PM

at normalizeLayer (node_modules/h3/dist/index.mjs:2025:15)
at use (node_modules/h3/dist/index.mjs:1935:20)
at Object.use (node_modules/h3/dist/index.mjs:1908:32)
at createNitroApp (node_modules/nitropack/dist/runtime/app.mjs:125:9)
at <anonymous> (node_modules/nitropack/dist/runtime/app.mjs:151:25)
at ModuleJob.run (node:internal/modules/esm/module_job:217:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async loadESM (node:internal/process/esm_loader:34:7)
at async handleMainPromise (node:internal/modules/run_main:66:12)
From the stack trace it looks like the problem is with nitro modules, but I am pretty sure it's something else (as it is usually with these errors in my experience), however I can't really see a way to debug this. Any help would be appreciated πŸ™‚
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server