I was getting this error:
[Error: UNKNOWN: unknown error, open 'blah\accounts\page.js'] {
admin:dev: errno: -4094,
admin:dev: code: 'UNKNOWN',
admin:dev: syscall: 'open',
admin:dev: path: 'blah\accounts\\page.js'
admin:dev: }
Salient part of img: C:\Program Files\N-able Technologies\AVDefender\EPSecurityyService.exe /blah/page.js FILE LOCKED WITH WRITERS
Using ProcessMontior I was able to figure out that AVDefender (aka BitDefender) was intermittently locking my files and causing my next dev server to be super slow when compiling and to randomly crash when compiling.
IT pushed an update today that installed AVDefender at 11:00 a.m. and that's when my problems started. Uninstalled it and got IT to whitelist me so it doesn't reinstall and the problem is solved.