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

Error: EMFILE: too many open files, watch

未关闭
#7 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
12
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

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
}
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。