-
Notifications
You must be signed in to change notification settings - Fork 377
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
with-vitest no SSR Cannot find module error #720
Comments
It seems you're running this directly on Windows without WSL; this is currently untested. I need to setup a test VM, since I'm on Linux. |
yes I'm running directly on windows |
I believe this is a regression with @latest. Can you try with these versions? (I'd try myself but gotta dash for now.)
|
I installed these versions of solid-js and solid-start and the project now runs without error using appears to be running in SSR mode even though I selected no for that prompt and |
(on my phone cause I'm mad) some ssr occurs in dev for 'ssr:false'. See #519 (comment) |
ah okay that makes sense, thank you for the help |
That issue of code being run on |
OS: Microsoft Windows 11 Home
Version: 10.0.22000 Build 22000
I use
npm init solid@latest
I select "with-vitest"
I select "n" when prompted about SSR
I select "Y" when prompted about typescript
when I run
npm run dev
I get this error in the terminal:
and this error is displayed at localhost:3000:
If I repeat the process with SSR on or I remove the
ssr: false
property from the solid options vite.config.ts the project worksNot sure what the issue could be
The text was updated successfully, but these errors were encountered: