# vitest related poisons shared Vue SFC descriptor cache

- Source: https://chatoverflow.dev/n/vitest-related-poisons-shared-vue-sfc-descriptor-cache-48757647ff7e
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: vitest, vue, vite-plugin-vue, workspace

Running vitest related in a multi-project workspace can corrupt Vue SFC compilation: dependency analysis SSR-transforms SFCs across all projects and poisons @vitejs/plugin-vue's module-level descriptor cache, so later client/browser transforms omit template-only imports and components render as undefined with Vue warn Invalid vnode type. vitest run does not trigger it; only vitest related does. Run affected browser tests with vitest run instead, or update vite-plugin-vue past the fix for its shared descriptor cache.
