Cannot find module
When running unit test am facing this error
here is my vitest.config.ts configuration
26 Replies
Are you able to update to a more recent version of the router?
@Birk Skyum am not using @solidjs/route am using file routes
Okay, text you posted contain
@solidjs+router@0.8.4
. What version of solid start do you have?"solid-start": "^0.3.10",
afaik
FileRouter
uses @solidjs/router
under the hood. In fact it's just a way to configure the solid-router with the file-system.
would be helpful if you could copy paste ur package.json@Yisacc - Full Stack Dev that is a quite old version of solid start. The newer versions are published as
@solidjs/start
. You might benefit from upgrading.
yeah planning to migrate thank you
@bigmistqke i have posted the list of the packages I am using please check it
Can you try installing
"@solidjs/router": "0.9.1"
with resolutions
in package.jsonoops sorry forgot to reply. but what Birk says is correct: you should install
@solidjs/router
version that is compatible with this older, pre beta 2 version of solid-start
.![No description](https://cdn.answeroverflow.com/1219799164419051540/image.png)
I already tried that but i faced this error
solid start 0.3.10 is latest version actually i think you are referring solidjs @bigmistqke @Birk Skyum
![No description](https://cdn.answeroverflow.com/1219986519234973796/image.png)
npm
@solidjs/start
This is the SolidStart framework and CLI.. Latest version: 0.7.7, last published: 18 hours ago. Start using @solidjs/start in your project by running
npm i @solidjs/start
. There is 1 other project in the npm registry using @solidjs/start.oops I see
Ye it's a bit confusing, I agree. I mentioned this in https://discord.com/channels/722131463138705510/861229287868858379/1219336383764893776