gpt4 book ai didi

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

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:52:10 25 4
gpt4 key购买 nike

在运行 ReactNative Android 应用程序时出现以下异常,并且在 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/应用程序/src/main/res/

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

请帮我解决这个问题。 enter image description here

Package.json:“依赖”:{ “ react ”:“16.3.1”, “ native react ”:“0.55.2”, “ react native 日历”:“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 元素”:“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", “ react native 指标”:“0.12.0”, “ react native map ”:“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 模态框”:“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 导航”:“1.5.11”, “react-native-tab-view”:“0.0.77”, “react-native-global-props”:“1.1.3”

最佳答案

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

关于android - Haste 模块映射中不存在模块 `DatePickerIOS`,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49870653/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com