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