Error while using vitest
Answered
aabeborn posted this in #help-forum
aabebornOP
During build using NextJs 14.1.4 i have this error in vitest.config.ts:
Why is trying to verify types here?
Type error: Excessive stack depth comparing types '{ plugins: PluginOption[][]; resolve: { alias: { '@/': string; }; }; test: { env: { PATH_PREFIX: string; NEXT_PUBLIC_PATH_PREFIX: string; }; globalSetup: string; globals: true; environment: "happy-dom"; ... 5 more ...; coverage: { ...; }; }; }' and 'UserConfig'.
Why is trying to verify types here?
1 Reply
aabebornOP
there was a vite mismatched version in the pnpm.lock
Answer