I installed the dependencies by using the commands in README:
npm install
There were lots of deprecated waring btw.
but when I ran npm start, it gave errors like this:
Logs for your project will appear below. Press Ctrl+C to exit.
node:events:497
throw er; // Unhandled 'error' event
^
Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:207:21)
Emitted 'error' event on NodeWatcher instance at:
at FSWatcher._checkedEmitError (/Users/kowyo/Documents/OpenGlass/node_modules/metro-file-map/src/watchers/NodeWatcher.js:82:12)
at FSWatcher.emit (node:events:519:28)
at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:213:12) {
errno: -24,
syscall: 'watch',
code: 'EMFILE',
filename: null
}
Node.js v20.14.0
Would appreciate it if anyone knows how to fix this.
Hi, I am using nvm with node.js 20.14.0(LTS)
I installed the dependencies by using the commands in README:
There were lots of deprecated waring btw.
but when I ran
npm start
, it gave errors like this:Would appreciate it if anyone knows how to fix this.