You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During dev I'm seeing this error the first time Vite starts:
(!) Failed to run dependency scan. Skipping dependency pre-bundling. Error: The following dependencies are imported but could not be resolved:
react/jsx-runtime (imported by ...src/client-entry.tsx)
If I re-run Vite the error goes away but it's consistent if I use vite --force.
This is not triggered during build.
This issue is described in this Vite issue and apparently it was fixed by this PR. Not sure if this is a regression or maybe something is wrong with my setup.
Activity
PierBover commentedon May 19, 2026
Adding these settings into the vite config fixed the issue for me:
Not sure if this is more of a hack or what but I'm going to close the issue.