Tuesday, 1 September 2020

Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\pagefile.sys'

I am trying to build and run a Storybook 6 project on Windows 10 which runs absolutely fine on WSL2 and Docker but not natively on Windows which I optimally need.I am running into this problem that comes from chokidar:​WARN Broken build, fix the error above.WARN You may need to refresh the browser.Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\hiberfil.sys'Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\pagefile.sys'Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\swapfile.sys'​I cannot find anything useful anywhere. Some people mentioned trying to delete node_modules, clean yarn's cache, disabling Windows Defender, but nothing worked.I was hoping some of maybe have had run into this problem in the past and managed to solve it?

Submitted September 01, 2020 at 09:53AM by brunofin

1 comment:

  1. i found the fix here https://blog.csdn.net/xiaogunagmei/article/details/108333680

    ReplyDelete