System limit for number of file watchers reached

Solved:

To develop a reactjs project in linux the above problem may occure.

To solve the problem in a minute execute the bellow command in terminal.

$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Thats it.

Leave a Reply

Your email address will not be published. Required fields are marked *