gokulraj029 / React-Landing-page

MIT License
0 stars 0 forks source link

React Native Error: System limit for number of file watchers reached in ubuntu #1

Closed gokulraj029 closed 4 years ago

gokulraj029 commented 4 years ago

that meaning of this error is that the number of files monitored by the system has reached the limit!

Result: The command executed failed! Or throw a warning (such as executing a react-native start vsocde)

Solution:

Modify the number of system monitoring files Ubuntu

sudo gedit /etc/sysctl.conf

Add a line at the bottom

fs.inotify.max_user_watches=524288

Then save and exit!

sudo sysctl -p

to check it

Then it is solved!