Run nuxt generate. Following error is happening, when the server is built:
Nuxi 3.6.5
Nuxt 3.6.5 with Nitro 2.5.2
...
ℹ Building server...
ℹ vite v4.3.9 building SSR bundle for production...
ℹ ✓ 374 modules transformed.
ℹ ✓ built in 15.32s
ERROR [vite:load-fallback] Could not load /plugin-vuetify/lib/components/VMessages/VMessages.sass?inline&used: ENOENT: no such file or directory, open '/plugin-vuetify/lib/components/VMessages/VMessages.sass?inline&used'
ERROR Could not load /plugin-vuetify/lib/components/VMessages/VMessages.sass?inline&used: ENOENT: no such file or directory, open '/plugin-vuetify/lib/components/VMessages/VMessages.sass?inline&used'
ELIFECYCLE Command failed with exit code 1.
Reproduce: Create a
settings.scss
file with settings (see https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin#style-loading)Set this settings file to
vuetify-nuxt-module
moduleOptions
and enable SSR:Run
nuxt generate
. Following error is happening, when the server is built:This StackBlitz reproduces the problem: https://stackblitz.com/edit/github-p6ty8t?file=playground%2Fnuxt.config.mts
Workaround: No workaround found, yet. Disabling SSR does not cause the problem.