最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - EBUSY: resource busy or locked, unlink - Stack Overflow

programmeradmin11浏览0评论

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 badges
Add a comment  | 

2 Answers 2

Reset to default 26

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'
发布评论

评论列表(0)

  1. 暂无评论