Sometimes when I try to launch the angular-cli command :
ng build --app myApplication -w
I get the following error :
EBUSY: resource busy or locked, unlink 'C:\...\inline.bundle.js'
Any idea to overcome this problem?
I had the same problem with google-services.json
when trying to deploy the app to the device.
EBUSY: resource busy or locked, unlink 'C:\...\google-services.json'
Solution:
Open task manager on windows and kill the Java(TM) Platform SE Binary
process in task manager.
here is a better workaround (bash on windows)
# for some reason keep getting UBUSY error so kill process
echo "killing any java.exe tasks"
cmd '/C TASKKILL /f /im java.exe'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With