Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error from chokidar : Error: UNKNOWN: unknown error, watch

In a new Angular app I'm getting the following error:

Error from chokidar : Error: UNKNOWN: unknown error, watch

I've deleted and re-installed node_modules, downloaded the entire project again etc.

Node version is 12.18.2

like image 745
pim Avatar asked Sep 20 '25 05:09

pim


2 Answers

Is your project on a network drive? Move the project to local drive, issues should go away.

The files might be local, but accessed through SMB protocol (exp. through drives created with net use Z: \\localhost\C$\path\to\my\project command). This will generate same issue.

like image 196
Grogi Avatar answered Sep 21 '25 22:09

Grogi


I had this issue. Try creating the angular app in C drive only. Worked for me.

like image 40
Aditya Avatar answered Sep 21 '25 20:09

Aditya