react-native - 反应本机中的 TurboModuleRegistry.getEnforcing(...) 错误
问题描述
每当我尝试使用抽屉导航时,我都会发现这个错误
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'NativeReanimated' could not be found. Verify that a module by this name is registered in the native binary.
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
但是这个包安装在我的项目中这是我的 package.json 文件
"react": "16.13.1",
"react-native": "0.63.4",
"react-native-bootsplash": "^3.1.5",
"react-native-gesture-handler": "^1.10.3",
"react-native-reanimated": "^2.0.0",
"react-native-recaptcha-v3": "^0.0.16",
"react-native-safe-area-context": "^3.2.0",
解决方案
推荐阅读
- ios - Swift Ui 中的导航视图
- azure - 将文件放入 Sharepoint 文件夹时如何触发 Azure Logic App
- javascript - 总结文本并将所有字母粘在一起
- python - 使用 Altair 的极地栏
- reactjs - 对 Springboot 端点的反应在本地工作,但在相同的设置被 dockerized 时不起作用
- python - Python:动画 Matplotlib 错误'缺少 1 个必需的位置参数:'curr'
- reactjs - 无法在 netlify 上部署 gatsby wordpress 站点
- python - discord.py 中斜杠命令的事件监听器
- google-apps-script - 通过谷歌脚本在谷歌表格中插入数据时处理时间长
- excel - Excel VBA - 使范围不可选择