node:events:485 throw er; // Unhandled 'error' event.
I went to setup my macbook M1 to React-Native development with Xcode and Expo cli .. i Download and install
node , watchman , and some other dependancies. i got this error enyone can help me .. beacuse i try to many
ways but still error is come for me.
node:events:485
throw er; // Unhandled 'error' event
^
Error: EMFILE: too many open files, watch
at FSWatcher._handle.onchange (node:internal/fs/watchers:207:21)
Emitted 'error' event on NodeWatcher instance at:
at FSWatcher._checkedEmitError (/Users/thiniranilushan/MyFirstProject/node_modules/metro-file-map/src/watchers/NodeWatcher.js:82:12)
at FSWatcher.emit (node:events:507:28)
at FSWatcher._handle.onchange (node:internal/fs/watchers:213:12) {
errno: -24,
syscall: 'watch',
code: 'EMFILE',
filename: null
}
Node.js v23.1.0