facebook / watchman

Watches files and records, or triggers actions, when they change.
https://facebook.github.io/watchman/
MIT License
12.57k stars 987 forks source link

Error: EMFILE: too many open files #993

Open Liptor opened 2 years ago

Liptor commented 2 years ago

I got an issue when trying to build code on a simulator

node:events:368 throw er; // Unhandled 'error' event ^

Error: EMFILE: too many open files, watch at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:204:21) Emitted 'error' event on NodeWatcher instance at: at NodeWatcher.checkedEmitError (/Users/acer/Desktop/mobile-app/node_modules/sane/src/node_watcher.js:143:12) at FSWatcher.emit (node:events:390:28) at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:210:12) { errno: -24, syscall: 'watch', code: 'EMFILE', filename: null }

ubaid-u-rehman commented 2 years ago

did you get any help ? ..... stuck in same situation