You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem occurs in the build phase of my Nuxt App, but not in the dev phase of the Nitro copy I provided
Logs
ERROR [nuxt] [request error] [unhandled] [500] Cannot access 'nitroApp' before initialization 20:03:46
at Object.onRequest (/D:/my-nuxt-template/.nuxt/prerender/chunks/runtime.mjs:6801:7)
at Object.handler (/D:/my-nuxt-template/node_modules/h3/dist/index.mjs:1959:21)
at toNodeHandle (/D:/my-nuxt-template/node_modules/h3/dist/index.mjs:2266:17)
at callHandle (/D:/my-nuxt-template/node_modules/unenv/runtime/fetch/call.mjs:25:12)
at ufetch (/D:/my-nuxt-template/node_modules/unenv/runtime/fetch/index.mjs:9:23)
at Object.localFetch (/D:/my-nuxt-template/.nuxt/prerender/chunks/runtime.mjs:6821:39)
at /D:/my-nuxt-template/.nuxt/prerender/chunks/runtime.mjs:3162:36
`
The text was updated successfully, but these errors were encountered:
Environment
Reproduction
https://stackblitz.com/edit/github-sbrgxd?file=server%2Fplugins%2Fstorage.ts
Describe the bug
As the title indicates, as long as the driver name is cache, an error will occur during the build or dev.
#1161 (comment)
Additional context
The problem occurs in the build phase of my Nuxt App, but not in the dev phase of the Nitro copy I provided
Logs
The text was updated successfully, but these errors were encountered: