usage with target: "server"
Is this intended to be used with target: "server"?
This error is logged in the console and breaks the site when used with target: "server" (yes, target server is needed because I need pages to be ssr'd)
TypeError: Cannot read properties of undefined (reading 'dbHash')
@oprtask-rb As written in Issue template, reproduction is helpful for other people to find what you are facing at.
@oprtask-rb As written in Issue template, reproduction is helpful for other people to find what you are facing at.
Hi.
The template is this one: https://content.nuxtjs.org/examples/tailwindcss-typography
but in nuxt.config.js instead of target: "static", I changed it to target: "server". Once this happens (after build & starting the app, ofcourse), it spits that error in the console that I've shown above.
In a larger app this error cause the app to break.
I'm facing the same issue.
I'll add that in my case I also have ssr: false, which I need because I'm using web components.
nuxt dev works. nuxt generate && nuxt start when building statically works. nuxt build && nuxt start doesn't work.
The console log is <hash>.js:1 GET http://localhost:3000/_nuxt/content/db-<hash>.json 404 (Not Found)
I'm facing the same issue. Has anyone solved it?