在 React-Native 0.29 和 0.30 中。
当我使用离线包在 iOS 设备上运行时,总是收到以下错误信息:
未处理的 JS 异常:模块 RCTLog 不是已注册的可调用模块。
RCTFatal + 124
-[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 584
+ 144
+ 296
+ 68
-[RCTModuleMethod invokeWithBridge:module:arguments:] + 1684
-[RCTBatchedBridge _handleRequestNumber:moduleID:methodID:
-37params] RTBatchedBridge handleBuffer:]_block_invoke.452 + 1144
...
捆绑:
react-native bundle --entry-file ./index.ios.js --platform ios --dev false --bundle-output ./Example/index.ios.jsbundle --assets-dest ./Example/ --verbose
Run Code Online (Sandbox Code Playgroud)
有没有人遇到同样的问题,我该如何解决,谢谢。
| 归档时间: |
|
| 查看次数: |
4941 次 |
| 最近记录: |