【发布时间】:2021-01-21 18:08:24
【问题描述】:
收到以下错误,但不能 100% 确定原因。目前,当我在 ios 模拟器中运行我的应用程序时遇到此问题
我尝试过 npm install watchman,但我刚刚看到 npm 包的最新更新,似乎已经被贬值了。
events.js:292
throw er; // Unhandled 'error' event
^
Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:127:28)
Emitted 'error' event on NodeWatcher instance at:
at NodeWatcher.checkedEmitError
at FSWatcher.emit (events.js:315:20)
at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:133:12) {
errno: -24,
syscall: 'watch',
code: 'EMFILE',
filename: null
}
【问题讨论】:
标签: ios react-native npm