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?
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?
Share Improve this question asked Jul 26, 2018 at 9:09 Brahim LAMJAGUARBrahim LAMJAGUAR 1,3445 gold badges19 silver badges30 bronze badges2 Answers
Reset to default 26I 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'