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

26k Views Asked by At

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

5

There are 5 best solutions below

0
On

Create Angular app in "C:" Drive only, not in any network drive. Run the app/commands from "C:" drive only and it worked for me. Try this out.

1
On

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

1
On

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.

0
On

you need to just Delete the node module folder

npm install
npm cache clean
0
On

Try to install it manually.

npm i chokidar

It worked for me. I ran my project after 2 years.