Vitest 0.34.4 caused `You appear to have multiple instances of Solid`
Hi peeps, I recently upgraded vitest from
0.34.2
to 0.34.4
and it starts showing for every single test:
I understand what it means and I am sure I have only 1 version of solid, but I don't know enough to go around to debug this further.
I wonder if there is a way get more information to debug this. Vitest 0.34.2
doesn't show that issue.
I am using
Thanks,12 Replies
To be correct I encountered the issues since vitest
0.34.3
, nothing updated only changing vitest version.same here! have you solve it?
I checked out Vitest code and tried a few things but nothing seem to resolve the issue
Any solutions to this? I'm running into the same issue
vite 4.5.0
vite-plugin-solid" 2.7.2
vitest 0.34.6
solved by locking vitest to 0.34.2
Didn't help for me 😦
I have this too on all 0.34 versions (and 1.0 beta) I've tried all the vitest config options suggested here and here
GitHub
vitest/examples/solid/vite.config.mjs at main · vitest-dev/vitest
Next generation testing framework powered by Vite. - vitest-dev/vitest
GitHub
GitHub - solidjs/solid-testing-library: Simple and complete Solid t...
Simple and complete Solid testing utilities that encourage good testing practices. - GitHub - solidjs/solid-testing-library: Simple and complete Solid testing utilities that encourage good testing ...
Just a note, I managed to upgrade to vitest 1.0.x by the 1st solution in https://github.com/solidjs/solid-testing-library?tab=readme-ov-file#known-issues
Hi! Have you found a solution yet? With Vitest 1.0.4 the problem still exists.
I think it might be some other things to do with the package manager, It works when I use
pnpm
but doesn't when I switch to bun
No solution here, but it doesn’t seem to be actually causing any problem. I’d just rather have the peace of mind of not seeing that message. For now I’m just ignoring it.
Does anybody have a config that removes the warning on this super minimal reproduction? https://stackblitz.com/edit/vitest-dev-vitest-xs9lkq?file=src%2Fbasic.tsx