N
Nuxt14mo ago
K1nggor

Nuxt 3 + Vuetify 3 + nuxt-vitest - vitest shows error on launch

Hi, I uses Nuxt 3 and Vuetify 3 and I want to test my components. But when I run vitest, It shows these errors. The two same errors at the bottom disappear when I remove the suspendedMount. If I use mount, it shows another error. There is also an error at the top. Maybe I forgot to configure something but I don't know what.
No description
No description
No description
3 Replies
K1nggor
K1nggor14mo ago
This seems to be caused by the Layout. I have 2 layouts. I use the layout login for this page and I have a default layout. The default layout seems to break a page using the login layout.
dmarr
dmarr14mo ago
https://discord.com/channels/473401852243869706/897487139888062506/1116117014315008041 tldr: fix is coming. temp workaround is to install the PR version that has the fix: "nuxt": "npm:nuxt3@pr-21450"
K1nggor
K1nggor14mo ago
Thanks for the answer. I managed to move the default layout to a "logged" layout. It fixed it until the real fix comes.
Want results from more Discord servers?
Add your server
More Posts