We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-React error- ENOSPC: System limit for number of file watchers reached
When trying to run " yarn start " to start React local server, Ubuntu Linux runs into problem Server does not start
The meaning of this error is that the number of files monitored by the system has reached the limit
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!
https://stackoverflow.com/questions/55763428/react-native-error-enospc-system-limit-for-number-of-file-watchers-reached ( this is a question about React Native, but worked for ReactJS local server problem )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
-React error-
ENOSPC: System limit for number of file watchers reached
Background
When trying to run " yarn start " to start React local server, Ubuntu Linux runs into problem
Server does not start
How did you try to solve the problem?
The meaning of this error is that the number of files monitored by the system has reached the limit
Solution:
Modify the number of system monitoring files
Ubuntu
Add a line at the bottom
Then save and exit!
to check it
Then it is solved!
https://stackoverflow.com/questions/55763428/react-native-error-enospc-system-limit-for-number-of-file-watchers-reached
( this is a question about React Native, but worked for ReactJS local server problem )
The text was updated successfully, but these errors were encountered: