我的客户端应用已在Google Play上发布,并且崩溃了
当我指出它适用于IOS时,这可能是我的愚蠢行为,
我迅速将其部署到Android并发布了
我尝试使用开发环境在其中运行
sudo react-native run-android
出现以下错误
潜在的错误是什么?
我正在使用MAC High Sierra
我的package.json文件
{
"name": "WOFA",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"accordion-collapse-react-native": "^0.1.10",
"is-email": "^1.0.0",
"native-base": "^2.12.1",
"react": "16.8.3",
"react-native": "0.59.9",
"react-native-easy-grid": "^0.2.1",
"react-native-firebase": "~5.5.4",
"react-native-gesture-handler": "^1.3.0",
"react-native-grid-list": "^1.0.9",
"react-native-image-picker": "^1.0.1",
"react-native-image-slider-show": "^1.0.3",
"react-native-modal": "^11.1.0",
"react-native-paypal-lib": "^1.0.9",
"react-native-side-drawer": "^1.1.7",
"react-native-slider": "^0.11.0",
"react-native-snackbar": "^1.0.1",
"react-native-svg": "^9.5.1",
"react-native-touchable-safe": "^1.1.2",
"react-navigation": "^3.11.0"
},
"devDependencies": {
"@babel/core": "^7.5.0",
"@babel/runtime": "^7.5.1",
"babel-jest": "^24.8.0",
"jest": "^24.8.0",
"metro-react-native-babel-preset": "^0.54.1",
"react-test-renderer": "16.8.3"
},
"jest": {
"preset": "react-native"
}
}
需要本地链接的软件包是:[react-native-firebase,react-native-gesture-handler,react-native-image-picker,react-native-paypal-lib,react-native-svg] >
答案 0 :(得分:1)
我在Windows 10上遇到类似的错误。 在我的案例中,罪魁祸首是节点v.12。 卸载节点并安装LTS版本的节点。 (当前为节点v.10.16.0) 好运。 ?