epicweb-dev / epicweb-dev/react-e2e-testing-with-playwright

Error: EMFILE: too many open files, watch

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Platform & Details
Computer: M4 Macbook Air
Ram: 16gb
Version: Tahoe 21.6
Node: 22.22.3

I also tried node 20 & 24, same error.

Please let me know what else I can provide.

Full error message
```Failed to check for exercise changes: Command failed with EBADF: git status --porcelain exercises/
spawn EBADF
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:207:21)
at FSEvent.callbackTrampoline (node:internal/async_hooks:130:17)
Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:207:21)
at FSEvent.callbackTrampoline (node:internal/async_hooks:130:17)
Unhandled Rejection for: Promise {
Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:207:21)
at FSEvent.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -24,
syscall: 'watch',
code: 'EMFILE',
filename: null
},
[Symbol(async_id_symbol)]: 910859,
[Symbol(trigger_async_id_symbol)]: 887149,
[Symbol(kResourceStore)]: undefined,
[Symbol(kResourceStore)]: undefined
}
With the reason: Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:207:21)
at FSEvent.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -24,
syscall: 'watch',
code: 'EMFILE',
filename: null
}
second error, exiting
Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:207:21)
at FSEvent.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -24,
syscall: 'watch',
code: 'EMFILE',
filename: null
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.