javascriptangularangular-cliangular-cli-v6ng-build

EBUSY: resource busy or locked, unlink


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?


Solution

  • 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.