Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: EMFILE: too many open files, watch #1816

Open
puresprout opened this issue Jul 23, 2024 · 1 comment
Open

Error: EMFILE: too many open files, watch #1816

puresprout opened this issue Jul 23, 2024 · 1 comment

Comments

@puresprout
Copy link

Hello
When I run the example app with npm start , I get the following error:

Commands like increase file limit didn't help at all.
ulimit -n

Any help?

node:events:497
      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 NodeWatcher.checkedEmitError (/Users/kakaobank1/Downloads/develop/sample/WatermelonDB/examples/native/node_modules/sane/src/node_watcher.js:143:12)
    at FSWatcher.emit (node:events:519:28)
    at FSWatcher._handle.onchange (node:internal/fs/watchers:213:12) {
  errno: -24,
  syscall: 'watch',
  code: 'EMFILE',
  filename: null
}

Node.js v20.15.0
@KrisLau
Copy link
Contributor

KrisLau commented Aug 16, 2024

This is not caused by WatermelonDB from what I can tell: https://stackoverflow.com/questions/8965606/node-and-error-emfile-too-many-open-files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants