-
Notifications
You must be signed in to change notification settings - Fork 32
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
Vite error in dev ssr mode: Failed to resolve entry for package "vitedge". #71
Comments
It turned out that I had some other error (I was playing a bit with everything when that happened just after configuring the project and I introduced a missing component) and vitedge was displaying that instead of the original error in the web ui. |
Okay, the issue still exists on vite@2.7.x though it doesn't seem to be an issue on vite@2.6.x Here's the full error from the console:
|
Looks like Vite 2.7.x changed the way SSR modules are loaded for |
To create a basic app with vitedge, I started with the guide on the docs. I did pretty much everything from the start a couple of times but there were always the same results.
But when I tried to run
yarn dev
, the following error occured:When I try to reload the page myself, the error changes:
Here are my dependencies:
I'm using node 17:
λ ~/workspace/wvffle.net/ node -v v17.3.0
The text was updated successfully, but these errors were encountered: