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
We have a monorepo where we run a bunch of internal tools in parallel as a lint step, a good portion of which are run via vite-node. Since upgrading to from vite-node 2.1.3. to 3.0.5 we pretty frequently get this error when running our lint step:
As best I can tell this only seems to come up when running several vite-node processes in parallel. I made a bare-bones repro in a repo here. Clone that repro and then run npm run repro. This will run a whole bunch of vite-node commands in parallel, a bunch of which will trigger the error.
Hmm, it sounds very odd if there's any influence between processes. How about pinning "vite": "^5"?
(Oh, maybe it's just flaky in general and it just shows up when running many times. running parallel is not an actual case?)
It looks like this is due to Vite 6 side change of how buildStart works. Vite-node manually calling this was necessary on Vite 5, but it's not needed on Vite 6 and actually causing some issues with plugin hook order.
Describe the bug
Hi!
We have a monorepo where we run a bunch of internal tools in parallel as a lint step, a good portion of which are run via vite-node. Since upgrading to from vite-node 2.1.3. to 3.0.5 we pretty frequently get this error when running our lint step:
Reproduction
As best I can tell this only seems to come up when running several
vite-node
processes in parallel. I made a bare-bones repro in a repo here. Clone that repro and then runnpm run repro
. This will run a whole bunch ofvite-node
commands in parallel, a bunch of which will trigger the error.System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: