【发布时间】:2017-03-10 05:37:05
【问题描述】:
当我运行 react-native start 时,我收到以下消息
错误:触发了不可恢复的条件。守望者需要你的帮助! 触发条件为timestamp=1489123194:inotify-add-watch(/var/www/html/eventManager/android/app/src/main/res/mipmap-mdpi) -> 用户对inotify手表总数的限制已达到;增加 fs.inotify.max_user_watches sysctl 在您解决之前,所有请求都将继续失败并显示此消息 根本问题。您将在以下位置找到有关修复此问题的更多信息 https://facebook.github.io/watchman/docs/troubleshooting.html#poison-inotify-add-watch
at ChildProcess.<anonymous> (/var/www/html/bookLister/node_modules/fb-watchman/index.js:207:21)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:852:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:492:12)
【问题讨论】:
-
你是在设备还是模拟器中运行?
-
查看我给出的这个答案,它可以解决你的问题。
-
是的,我正在使用模拟器
标签: react-native watchman