在EXPO中运行时反应本机版本不匹配

时间:2019-08-04 09:11:10

标签: reactjs react-native expo

我正在尝试在EXPO中运行现有项目,但在设备React native version mismatch , JavaScript version : 0.60.4 , Native version : 0.59.8上出现此错误

有人可以告诉我为什么会发生错误吗?

我的package.json =>

{
  "name": "MyApp",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "@babel/runtime": "7.0.0",
    "@monterosa/react-native-parallax-scroll": "^1.8.0",
    "assign-deep": "^1.0.1",
    "eventing-bus": "^1.3.3",
    "expo": "^34.0.3",
    "frisbee": "^2.0.5",
    "immutability-helper": "^2.8.1",
    "lodash": "^4.17.15",
    "native-base": "^2.13.4",
    "react": "16.5.1",
    "react-native": "0.59.8",
    "react-native-admob": "^2.0.0-beta.5",
    "react-native-app-intro-slider": "^1.0.1",
    "react-native-facebook-login": "^1.6.1",
    "react-native-fast-image": "^5.0.10",
    "react-native-fs": "^2.13.3",
    "react-native-gesture-handler": "1.0.10",
    "react-native-i18n": "^2.0.15",
    "react-native-image-crop-picker": "^0.20.3",
    "react-native-in-app-utils": "^6.0.1",
    "react-native-loading-spinner-overlay": "^0.5.2",
    "react-native-localization": "^2.0.3",
    "react-native-material-dialog": "^0.7.6",
    "react-native-modal": "^7.0.2",
    "react-native-music-control": "^0.7.3",
    "react-native-music-player-service": "^0.1.4-beta",
    "react-native-popup-menu": "^0.14.2",
    "react-native-restart": "^0.0.10",
    "react-native-snap-carousel": "^3.7.5",
    "react-native-sound": "^0.10.9",
    "react-native-splash-screen": "^3.1.1",
    "react-native-super-grid": "^2.4.3",
    "react-native-swiper": "^1.5.14",
    "react-native-toast-native": "^1.2.1",
    "react-native-track-player": "^1.0.2",
    "react-native-typing-text": "0.0.3",
    "react-navigation": "^3.0.4",
    "react-redux": "^5.0.7",
    "react-timeago": "^4.1.9",
    "realm": "^2.22.0",
    "redux": "^4.0.0",
    "redux-saga": "^0.16.1",
    "rn-sliding-up-panel": "^1.3.1",
    "toggle-switch-react-native": "^2.0.2"
  },
  "devDependencies": {
    "babel-jest": "^24.8.0",
    "jest": "^24.8.0",
    "metro-react-native-babel-preset": "^0.45.0",
    "react-test-renderer": "16.5.1",
    "schedule": "0.4.0"
  },
  "jest": {
    "preset": "react-native"
  }
}

到目前为止,Native的最新版本是0.59.8? ,,但是为什么javascript版本是0.60.4?

和我的app.json =>

  "expo": {
    "name": "Soundkit",
    "slug": "sound-kit",
    "sdkVersion": "34.0.0",
    "privacy": "public"

0 个答案:

没有答案