rollup-plugin-copy icon indicating copy to clipboard operation
rollup-plugin-copy copied to clipboard

replace copy with copySync

Open piscium2010 opened this issue 4 years ago • 8 comments

Fix: https://github.com/vladshcherbin/rollup-plugin-copy/issues/43

minor change but fix annoying issue

piscium2010 avatar Jul 18 '20 07:07 piscium2010

This fixes our problem also. It would be nice to have this merged and released as soon as possible.

(copy plugin) Error: EBUSY: resource busy or locked, unlink 'C:\www\tsdx-npm-react\dist\media\icons\apps.svg'
Error: EBUSY: resource busy or locked, unlink 'C:\www\tsdx-npm-react\dist\media\icons\apps.svg'

PascalLuginbuehl avatar Jul 23 '20 13:07 PascalLuginbuehl

@piscium2010, @PascalLuginbuehl can you try upgrading fs-extra dependency to v9 and see if fs.copy still gives error in your project? Thanks

vladshcherbin avatar Jul 23 '20 16:07 vladshcherbin

@vladshcherbin I upgraded fs-extra to v9.0.1. Unfortunately, it does not fix our problem and I get the same error message.

PascalLuginbuehl avatar Jul 24 '20 07:07 PascalLuginbuehl

@vladshcherbin I confirmed that fs-extrav9.0.1 still causes problem.

piscium2010 avatar Jul 25 '20 04:07 piscium2010

@vladshcherbin I'm also having this issue when I tried to copy multiple files, is there anyway to get this merge in?

This fixes our problem also. It would be nice to have this merged and released as soon as possible.

(copy plugin) Error: EBUSY: resource busy or locked, unlink 'C:\www\tsdx-npm-react\dist\media\icons\apps.svg'
Error: EBUSY: resource busy or locked, unlink 'C:\www\tsdx-npm-react\dist\media\icons\apps.svg'

yhy-1 avatar May 20 '21 16:05 yhy-1

@vladshcherbin would be great to have this merged in - this solves the only bug I'm facing with this package atm.

ZipJo avatar Jun 14 '21 08:06 ZipJo

@vladshcherbin Can we not get this merged?

EduardoMichel avatar Feb 03 '22 15:02 EduardoMichel

Can we merge this? I'm having an issue, which this PR fixes when trying to copy a folder.

ellismonva avatar May 30 '22 10:05 ellismonva

@vladshcherbin Hello! I believe quite a few people are waiting for this. 🙂

raulmarindev avatar Dec 14 '22 17:12 raulmarindev

Released in 3.5.0 under copySync option.

I've tried to replicate the error locally with no luck, hopefully this option will help resolve the errors you have, guys. I'd be happy to see a reproduction repo to better tackle the reason.

Thank you ♥️

vladshcherbin avatar Sep 02 '23 11:09 vladshcherbin