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
{{ message }}
Repository navigation
bug: Copy tasks leads to EBUSY: resource busy or locked on Windows OR flattened structure on Mac #5966
I have searched for existing issues that already report this problem, without success.
Stencil Version
4.21.0
Current Behavior
When we have a copy task for <subfolder> for the dist buildTarget, to ../<subfolder>, we get an error on Windows. On Mac, the structure gets flattened. The folder structure is lost.
Expected Behavior
I expect the assets folder to be copied as is. And I expect to be able to copy it to one folder higher than the dist folder.
On Windows, it leads to an EBUSY error (reverting to 4.20.0 resolves the issue)
On Mac, it leads to all the folders contents to be flattened, i.e. the folder structure in src is lost in the build.
changed the title [-]bug: Copy tasks leads to EBUSY: resource busy or locked[/-][+]bug: Copy tasks leads to EBUSY: resource busy or locked on Windows OR flattened structure on Mac[/+]on Sep 3, 2024
Thanks for raising the issue @DrKlonk the Stencil team currently has a lot of competing priorities and can't promise to be able to take a look at this anytime soon. We recommend to get involved and help us resolve this bug by providing a pull request with a fix. We are happy to provide necessary guidance and appreciate any help!
Activity
[-]bug: Copy tasks leads to EBUSY: resource busy or locked[/-][+]bug: Copy tasks leads to EBUSY: resource busy or locked on Windows OR flattened structure on Mac[/+]christian-bromann commentedon Sep 5, 2024
Thanks for raising the issue @DrKlonk the Stencil team currently has a lot of competing priorities and can't promise to be able to take a look at this anytime soon. We recommend to get involved and help us resolve this bug by providing a pull request with a fix. We are happy to provide necessary guidance and appreciate any help!
luisbytes commentedon Sep 11, 2024
Hello @christian-bromann, I think this could be the problem #5899
As @DrKlonk comments in the previous version, the error does not occur.