contacts

Get All 146 Premium WordPress Themes for Just $59.99
One-Time Payment: Unlimited Use Across Unlimited Domains, Plus Free Lifetime Updates! Learn more

ENOSPC: System limit for number of file watchers reached

I’ve recently face the following error when running React.JS app with Redux on my Ubuntu: ENOSPC: System limit for number of file watchers reached. Here is how to resolve it:

1.Open Terminal

2. Execute the following command:

sudo gedit /etc/sysctl.conf

3. Insert the following text at the end of the file:

fs.inotify.max_user_watches=524288

4. (Optional) You can verify the above solution by executing the following command:

sudo sysctl -p