-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
Cannot run with vite-node
#1309
Comments
It seems like Any ideas why? I'll have a closer look at it. |
Running
I'm inclined to think it's more of a |
Closing because it seems that the issue is on Consider using |
Hey @brillout, I got this working by snooping through the vite-node code and realizing it was closing the vite server because it was not set up in watch mode. By running (I'm using the command |
@develohpanda Neat, thanks for sharing the solution. |
Description
I tried to run the project with
vite-node
as suggested here but I get the following error.I'm on
node v20.9.0
andpnpm v8.11.0
. Minimal reproduction project can be found in this repo.There two commands:
pnpm dev:vite-node
produces the errorpnpm dev:tsx
works without problemThe text was updated successfully, but these errors were encountered: