gpt4 book ai didi

reactjs - 需要未知模块 "undefined"

转载 作者:行者123 更新时间:2023-12-03 13:53:06 25 4
gpt4 key购买 nike

在 Android 的发布版本中,我在调试时遇到此错误,一切正常。

FATAL EXCEPTION: mqt_native_modules. Requiring unknown module "undefined".

请帮助我。我还坚持了 6 个小时

"dependencies": {
"native-base": "^2.12.1",
"react": "16.8.3",
"react-native": "0.59.9",
"react-native-audio": "^4.3.0",
"react-native-dropdown": "^0.0.6",
"react-native-geo-fencing": "^0.1.0",
"react-native-geolocation-service": "^2.0.1",
"react-native-gesture-handler": "^1.3.0",
"react-native-image-marker": "^0.4.4",
"react-native-localization": "^2.1.2",
"react-native-maps": "^0.25.0",
"react-native-share": "1.2.1",
"react-native-simple-dialogs": "^1.1.0",
"react-native-splash-screen": "^3.2.0"
}

Requiring unknown module "undefined" on react-native-maps这是太旧的解决方案,它不适合我。

最佳答案

首次运行命令:

rm -rf /node_modules && npm install

然后运行:

react-native start

关于reactjs - 需要未知模块 "undefined",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57199000/

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