小编Gee*_*ose的帖子

运行守望者时出错

当我跑步时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)

watchman react-native

7
推荐指数
4
解决办法
5184
查看次数

在react-testing-library中测试组件之前有没有办法初始化多个原子状态?

现在我正在初始化一个原子状态如下

<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)

这是正确的用法吗?

reactjs recoiljs

2
推荐指数
1
解决办法
1450
查看次数

标签 统计

react-native ×1

reactjs ×1

recoiljs ×1

watchman ×1