当我跑步时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)
Run Code Online (Sandbox Code Playgroud) 现在我正在初始化一个原子状态如下
<RecoilRoot initializeState={(snap: any): any => snap.set( oneTimeData, onetimeParameter)}>
Run Code Online (Sandbox Code Playgroud)
我试图errors
在上面的代码中添加另一个原子。
<RecoilRoot initializeState={(snap: any): any => snap.set( (oneTimeData, onetimeParameter), (errors, errorsParameter) }>
Run Code Online (Sandbox Code Playgroud)
这是正确的用法吗?