-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vitest install error: No overload matches this call #341
Comments
The core problem here is that we are switching the type for the vite config from // without vitest
import { defineConfig } from 'vite';
// with vitest
import { defineConfig } from "vitest/config"; Still trying to find any relevant issue. Currently only found this discussion in vite repo: vitejs/vite#8509 Look's like the vitest config has not been updated to match vite 6 |
Did not find anything meaningful, therefore created this issue: vitest-dev/vitest#7014 |
The mismatch in types is because Types can be fixed by reverting back to |
see dominikg/vitest-example-svelte5#1 for a setup that works with vite@6, vitest@3 beta and latest sveltekit/svelte |
version
[email protected]
steps
rm -rf ./* ./.*
to remove directory contentsnpx sv create .
y
to install [email protected]observed
sveltekit()
errors with 'No overload matches this call.'The text was updated successfully, but these errors were encountered: