. Advertisement .
..3..
. Advertisement .
..4..
I get an error
Internal watch failed: ENOSPC: System limit for number of file watchers reached, watch '/media/rehan-sattar/Development/All projects/GrpahQl/graph-ql-course/graphql-prisma/src/generated
when trying to start my node server, and it’s giving me the path of the schema file, which is auto-generated by a graphql-cli. How to fix the system limit for number of file watchers reached error? Please give me some advice.
The cause: This error happens because if you’re using Linux, your project has reached the maximum of your system’s file watchers.
The solution: Try the following on your terminal to fix this:
This issue sometimes occurs when I use VSCode on Ubuntu.
The following solution works in my case:
Stop the watcher and close VScode.