Open SukkaW opened 2 weeks ago
Hi! Can you make a reproduction without rollup
as a dependency? Preferably, without any non-built in dependencies?
Secondly, can you try reproducing in v22.7.0? (Or v22.8.0 depending on when you see this message)
Hi! Can you make a reproduction without
rollup
as a dependency? Preferably, without any non-built in dependencies?
Since it happens randomly, I guess it might have something to do with many existing opened fs descriptors.
I am trying to extract a minimum reproduction.
I am trying to extract a minimum reproduction.
Great! Until that is done, it'll be hard to people to see what is going wrong.
Version
v22.5.1
Platform
Subsystem
No response
What steps will reproduce the bug?
I was building a rollup plugin that deletes the output folder/files:
But I randomly encounter the following error:
How often does it reproduce? Is there a required condition?
About 1 in 8 times.
What is the expected behavior? Why is that the expected behavior?
fsp.rm
should never reportsENOTEMPTY: directory not empty
What do you see instead?
Error: ENOTEMPTY: directory not empty, rmdir 'dist'
Additional information
I am running a parallel build inside a relatively large monorepo, which might have many file descriptors opened at once.