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
This discussion was converted from issue #1462 on March 22, 2023 14:24.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using
vite build --watch
to build a website, the initial bundling works fine. But the subsequent changes lead to hanging on transforming.I have spent hours on this issue but failed to create a minimal reproduction. So I may need your help to construct one.
However, I traced down to a probable cause. See additional information.
Expected Behavior
Changes are built as expected.
Actual Behavior
Stuck on transforming.
Additional Information
In my case, there are multiple
?commonjs-proxy
loading at the same time, which might have led to:maxParallelFileOps
loading of?commonjs-proxy
modules happen at once.fileOperationQueue
but the queue is already at max concurrency.plugins/packages/commonjs/src/index.js
Lines 295 to 298 in bc5cf91
https://github.com/rollup/rollup/blob/d44fba668e6d7a89725b8bcd82d6af655f7372b4/src/ModuleLoader.ts#L261-L264
Workaround
Set larger
maxParallelFileOps
.Beta Was this translation helpful? Give feedback.
All reactions