Base solution for your next web application
Open Closed

When building public site bundles get an EBUSY: resource busy or locked on images #10881


User avatar
0
rickfrankel created

Prerequisites

  • What is your product version?
  • 10.5
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .Net Core

When trying to run npm run create-bundles on the public MVC website I more often than not get the following error.

[10:28:09] Using gulpfile C:\GitHub\Inbound\aspnet-core\src\XXX.Web.Public\gulpfile.js [10:28:09] Starting 'buildDev'... Bundles are being created, please wait... [10:28:24] 'buildDev' errored after 15 s [10:28:24] Error: EBUSY: resource busy or locked, open 'C:\GitHub\XXXX\aspnet-core\src\XXXX.Web.Public\wwwroot\dist\img\portlet-expand-icon-white.png'

The actual image icon in the error changes each time, however it is always on an image file that it happens.

I've tried disabling virus scanning and any other things I can think of that could be accessing the files at the same time

Yarn version is 1.22.15 NPM version is 6.14.12

Anyone seen this or got any suggestions?

Thanks


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Could you install https://lockhunter.com/ and see which app is locking the image when this happens ? We can try to find a proper solution accordingly.

    Thanks,