【发布时间】:2020-12-04 18:15:27
【问题描述】:
我搜索了这个错误,但没有找到解决方案。
TypeError: (0, _reactNativeScreens.useScreens) is not a function. (In '(0, _reactNativeScreens.useScreens)()', '(0, _reactNativeScreens.useScreens)' is undefined)
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
首先我得到这个错误
``` 错误:错误:无法从node_modules\react-native-stack\src\NavigatorIos\index.js 解析模块react-native-screens:在项目中找不到react-native-screens。
After this error I installed
```npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view```
I am trying to run in android.
【问题讨论】:
标签: react-native react-native-android react-native-navigation