[英]Invariant Violation: Module JSTimers is not a registered callable module(calling callTimers).Issue due to device-info package in lerna setup
0.64.0 0.64.0
[Repo-code] https://github.com/rsoni5519/lerna-react-native [回购代码] https://github.com/rsoni5519/lerna-react-native
The App should work when we are clicking on Track buttons.当我们单击 Track 按钮时,该应用程序应该可以工作。 it should console values for respective button events.
它应该控制相应按钮事件的值。 userAgent and screenSize should work for DeviceInfo and Dimensions.
userAgent 和 screenSize 应该适用于 DeviceInfo 和Dimensions。 Module_JsTimer_Issue steps to reproduce
Module_JsTimer_Issue重现步骤
Error occurred because of cyclic dependency of react-native pakcage.由于 react-native 封装的循环依赖性而发生错误。
Use this repository for solution [a link] ( https://github.com/vishalkhoje/cyclicImportReactNative )!将此存储库用于解决方案 [a link] ( https://github.com/vishalkhoje/cyclicImportReactNative )!
"peerDependencies": {
"react-native": "^0.64.1",
"@types/react-native": "^0.64.5",
"react-native-device-info": "^8.1.2"
}
This will solve your problem.这将解决您的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.