'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
Solution 1:[1]
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 Samba protocol (exp. through drives created with net use Z: \\localhost\C$\path\to\my\project
command). This will generate same issue.
Solution 2:[2]
you need to just Delete the node module folder
npm install
npm cache clean
Solution 3:[3]
I had this issue. Try creating the angular app in C drive only. Worked for me.
Solution 4:[4]
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | |
Solution 2 | azeem |
Solution 3 | Aditya |
Solution 4 | Sam |