NPM - npm start Error: ENOSPC: System limit for number of file watchers reached

NPM - npm start Error: ENOSPC: System limit for number of file watchers reached

If you are facing this error once you are trying to execute npm start, it’s because of your max_user_watches was reached the maximum number. Simply you can increase the max_user_watches by running this command :

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

And then you can run npm start again, and voila :

image.png