Describe the bug
Locally there are no errors whatsoever across the whole application, even when running tsc and eslint however after deploying to NuxtHub none of the pages load the whole app just returns a 500 error with the following message in the server logs:
GET 500 /
[nuxt] [request error] [unhandled] [500],Cannot access 'default' before initialization
at chunks/routes/renderer.mjs:1:119508
at async chunks/routes/renderer.mjs:1:119461
at async chunks/routes/renderer.mjs:1:121547
at async Object.handler (chunks/routes/renderer.mjs:1:120585)
at async Object.handler (chunks/runtime.mjs:1:74748)
at async chunks/runtime.mjs:1:77686
at async chunks/runtime.mjs:1:114971
[nuxt] [request error] [unhandled] [500],Cannot access 'default' before initialization
at chunks/routes/renderer.mjs:1:119508
at async chunks/routes/renderer.mjs:1:119461
at async chunks/routes/renderer.mjs:1:121547
at async Object.handler (chunks/routes/renderer.mjs:1:120585)
at async Object.handler (chunks/runtime.mjs:1:74748)
at async chunks/runtime.mjs:1:77686
at async chunks/runtime.mjs:1:114971
at async errorHandler (chunks/runtime.mjs:1:108660)
at async chunks/runtime.mjs:1:77840
at async chunks/runtime.mjs:1:114971
I've done a search for cannot access 'default' before initialised but have been unable to find anything.
Steps to reproduce
Steps to reproduce the behavior:
Create Nuxt App
Deploy to Hub
Open Server logs and then site
See error
Expected behavior
The site and pages should load as they do on the localhost
Describe the bug Locally there are no errors whatsoever across the whole application, even when running
tsc
andeslint
however after deploying to NuxtHub none of the pages load the whole app just returns a500
error with the following message in the server logs:I've done a search for
cannot access 'default' before initialised
but have been unable to find anything.Steps to reproduce Steps to reproduce the behavior:
Expected behavior The site and pages should load as they do on the
localhost