【发布时间】:2021-06-10 13:59:07
【问题描述】:
我在使用“反应导航”包添加抽屉导航器时遇到问题。
我已经尝试过的:
- 三重检查了 React Navigation 文档中列出的包
- 从头开始重新创建项目
- 根据其页面上的文档安装了 react native reanimated 包。
- 从 npm 和 react-native 清除缓存。
- 仅在 Stack Navigator 上试过,有效,问题仅在使用 Drawer Navigator 时出现
错误如下:ERROR Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'NativeReanimated' could not be found. Verify that a module by this name is registered in the native binary.
【问题讨论】:
标签: javascript node.js react-native react-navigation react-native-reanimated