How to debug missing `vue/server-renderer` in bundle?
I am seeing the below error when requesting any path on production (debian):
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?3 Replies
rm -rf node_modules
, rm -rf $(pnpm store path)
do not help, guiding me to believe it is not a problem with corrupted dependencies.Did you find a solution?
It is probably caused by
nuxt-seo-kit
as it is a layer and there seems to be issues with layers:
https://github.com/nuxt/nuxt/issues/22234I 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.
Maybe not, good catch! :D