android – 模块`DatePickerIOS`在Haste模块映射中不存在

前端之家收集整理的这篇文章主要介绍了android – 模块`DatePickerIOS`在Haste模块映射中不存在前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
在运行ReactNative Android应用程序时获取下面的Exception以及Bundle时,获得相同的异常.

react-native bundle –platform android –dev false –entry-file index.js –bundle-output android / app / src / main / assets / index.android.bundle –assets-dest android / app / src /主/ RES /

无法从Project_Path / node_modules / react-native / Libraries / react-native / react-native-implementation.js解析模块DatePickerIOS:Haste模块映射中不存在模块DatePickerIOS

请帮我解决这个问题

的package.json:
“依赖”:{
“反应”:“16.3.1”,
“反应原生”:“0.55.2”,
“react-native-calendars”:“1.17.7”,
“react-native-carousel-view”:“0.5.1”,
“react-native-confirmation-code-input”:“1.0.4”,
“react-native-dash”:“0.0.8”,
“react-native-elements”:“0.19.1”,
“react-native-fbsdk”:“0.7.0”,
“react-native-google-places-autocomplete”:“1.3.6”,
“react-native-google-sign-in”:“1.0.16”,
“react-native-i18n”:“2.0.12”,
“反应原生指标”:“0.12.0”,
“react-native-maps”:“0.21.0”,
“react-native-material-bottom-navigation”:“0.9.0”,
“react-native-material-dropdown”:“0.11.1”,
“react-native-material-ui”:“1.22.1”,
“react-native-modalBox”:“1.4.2”,
“react-native-searchbar”:“1.14.0”,
“react-native-sensitive-info”:“5.1.0”,
“react-native-splash-screen”:“3.0.6”,
“react-native-vector-icons”:“4.6.0”,
“react-navigation”:“1.5.11”,
“react-native-tab-view”:“0.0.77”,
“react-native-global-props”:“1.1.3”
}

解决方法

终止Metro捆绑终端窗口中的进程,然后按照注释中的指示运行npm start – –reset-cache

猜你在找的Android相关文章