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

Image for post
Image for post

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 for post
Image for post

I wrote these tutorials for myself in future when I forget for the next steps.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store