#How to debug missing `vue/server-renderer` in bundle?

7 messages · Page 1 of 1 (latest)

vapid summit
#

I am seeing the below error when requesting any path on production (debian):

[nuxt] [request error] [unhandled] [500] Cannot find module '/<redacted>/.output/server/node_modules/vue/server-renderer/index.mjs' imported from /<redacted>/.output/server/chunks/handlers/renderer.mjs

The vue/server-renderer is not being properly included in bundled output. This reproduces steadily on the one server and I am yet to reproduce anywhere else.

Major dependency that may cause the issue is nuxt-seo-kit.
I am not asking to debug the issue for me, rather for an idea why server-renderer may be missing.

Question is: How to debug missing vue/server-renderer in bundle?

#

rm -rf node_modules, rm -rf $(pnpm store path) do not help, guiding me to believe it is not a problem with corrupted dependencies.

ashen crane
#

Did you find a solution?

ashen crane
vapid summit
#

I found it is probably related to nuxt-seo-kit, but have not figured much else

#

nuxt-seo-kit uses old versions of the seo modules, it might be fixed already

#

We have not faced the bug you describe above. I think it may be related to the yesterday's 3.6.4 and 3.6.5 updates.