Tin Tomić
Tin Tomić

Reputation: 1

EBUSY error on npm run watch (Laravel Vite) when modifying SCSS – Need to restart manually

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:

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!

Upvotes: 0

Views: 10

Answers (0)

Related Questions