admin管理员组文章数量:1406177
- Issue I'm facing an issue where npm run watch (Laravel Vite) crashes every time I modify and save an SCSS file. The error message shows that a file is locked (EBUSY error), forcing me to manually restart the watcher every time to apply changes.
This is error I get every time watcher reboots, and I must also say that locked files change. It's not always cleave-phone.lt.js. :
EBUSY: resource busy or locked, unlink 'C:\...\cleave-phone.lt.js'
I’ve attempted several fixes, but none have worked permanently:
- Disabled Windows Defender (Real-time protection & folder exclusions added).
- Deleted public/build/ and rebuilt it.
- Cleared Temp folder (C:\Users...\AppData\Local\Temp).
- Restarted terminal and system.
- Ran npm run watch with Administrator privileges.
- Also saw that disabling Java(TM) Platform SE Binary solved problem for some, but I dont even have that process running in task manager.
How can I fix this permanently so Vite doesn’t crash, and I don’t have to restart npm run watch manually after every change? Any workarounds or configurations that could help?
Thanks in advance!
本文标签:
版权声明:本文标题:visual studio code - EBUSY error on npm run watch (Laravel Vite) when modifying SCSS – Need to restart manually - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744969475a2635146.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论