Error: enospc: system limit for number of file watchers reached, watch ‘file path’
The Vue project encountered the following errors when running the NPM run serve command in the deepin15.11 system environment:
Solution
the problem can be solved by executing the following two commands in sequence at the terminal
echo fs.inotify.max_ user_ watches=524288 | sudo tee -a /etc/sysctl.conf && amp; sudo sysctl -p
sudo sysctl –system
reason
After checking, it is the limitation of the Linux system that causes this error. You need to set fs.inotify.max_ user_ watches This parameter.
resolvent
Execution: VIM / Etc/sysctl.conf, add the following:
fs.inotify.max_ user_ watches=524288
Input: WQ
Execute on the command line: sysctl – P
Similar Posts:
- System limit for number of file watchers reached
- Ubuntu System Goland Error: External file changes sync may be slow: The current inotify(7) watch limit is too low
- Apple System: Error: ENFILE: file table overflow
- ERROR: Unable to start the RMI connector for NodeAgent (ArcGIS Server Startup Error)
- About redis WARNING overcommit_ The solution of memory is set to 0
- [Solved] ERROR: bootstrap checks failed memory locking requested for elasticsearch process but memory is not locked
- [Solved] Nginx can’t listen to the problem of virtual VIP: 99: cannot assign requested address
- [Solved] linux configure: error: no acceptable C compiler found in $PATH
- Add Samba user prompt failed to add entry for user
- Rsync Real-time Error: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.9]