构建React-Native应用程序时出错

时间:2018-07-30 11:44:54

标签: react-native build.gradle expo

问题如何出现?

1-我使用react-native init projectName

开始了一个新的空白本地反应项目。

2-我将屏幕和组件从退出项目移至了新项目

3-我安装了在项目(包括博览会)npm install --save expo

中使用的必需的npm模块。

那是我得到“检查下面的图像”的错误,但是我安装了expo

那是我的package.json文件

{
  "name": "taplot",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "axios": "^0.18.0",
    "expo": "^29.0.0",
    "native-base": "^2.7.2",
    "react": "16.4.1",
    "react-native": "0.56.0",
    "react-native-easy-grid": "^0.2.0",
    "react-native-flags": "^1.0.0",
    "react-native-icon-badge": "^1.1.3",
    "react-native-public-ip": "^1.0.0",
    "react-native-toaster": "^1.2.2",
    "react-navigation": "^2.9.3"
  },
  "devDependencies": {
    "babel-jest": "23.4.2",
    "babel-preset-react-native": "5.0.2",
    "jest": "23.4.2",
    "react-test-renderer": "16.4.1"
  },
  "jest": {
    "preset": "react-native"
  }
}

enter image description here

0 个答案:

没有答案