Invalid import by kobalte
I get the following error when trying to run my vitest tests (sorry, I'm unable to copy the text itself).
Have you seen anything similar?
Thanks.
Image

5 Replies
you have an outdated solid-js version somewhere in your project
My package.json is:
Maybe I should use the
@solidjs/web dependency instead of solid-js?ah, no, I missed the first part where it said
vitest tests
vitest should be using the browser build, here it's using the server one where use does not make sense and not implemented
https://github.com/solidjs-community/solid-primitives/blob/main/configs/vitest.config.ts this might help you in configuring vitestThanks for your answer, unfortunately I was not able to make it work 😦
I have found this related Kobalte issue: https://github.com/kobaltedev/kobalte/issues/542
GitHub
HiddenSelectBase leads to import "use" from "solid-js/web" in compi...
Describe the bug I'm currently using SolidUI to add component to my project, since it's a shadcn/ui inspired library and I've located the use function was used by compiled HiddenSelectB...