How to fix Error: ENOSPC: System limit for number of file watchers reached, watch
When i run my metro server with command react-native start i get some error like this.
oading dependency graph...internal/fs/watchers.js:173
throw error;
^
Error: ENOSPC: System limit for number of file watchers reached, watch '/home/adroady/project/danil/mobile/harnic-app/node_modules/optimist/node_modules/minimist/example'
oading dependency graph...internal/fs/watchers.js:173
throw error;
^
Error: ENOSPC: System limit for number of file watchers reached, watch '/home/adroady/project/danil/mobile/harnic-app/node_modules/optimist/node_modules/minimist/example'
then how to fix the error ??
simple, just execute command bellow.
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
0 Response to "How to fix Error: ENOSPC: System limit for number of file watchers reached, watch"
Post a Comment
1. Berikan Komentar yang Relevan
2. Tidak Mengandung SARA
3. Berkomentar yang Sopan