无法在另一个系统上运行现有的expo项目,

时间:2019-10-18 06:23:47

标签: javascript reactjs react-native expo

我无法使用expo start启动expo项目。 Bundler正在运行,但是当我在博览会客户端中扫描QR码时,没有任何反应。

退出项目并使用android studio运行后也无法正常工作。 任何人都知道如何解决该问题。预先感谢。

更多详细信息

{
  "name": "my-new-project",
  "main": "node_modules/expo/AppEntry.js",
  "private": true,
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "eject": "expo eject",
    "test": "node ./node_modules/jest/bin/jest.js --watchAll"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "@expo/samples": "2.1.1",
    "@mapbox/react-native-mapbox-gl": "^6.1.3",
    "expo": "35.0.0",
    "expokit": "^32.0.6",
    "geofire": "^5.0.1",
    "mobx": "^5.9.0",
    "mobx-persist": "^0.4.1",
    "mobx-react": "^5.4.3",
    "prop-types": "^15.6.2",
    "react": "16.5.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz",
    "react-native-animatable": "^1.3.1",
    "react-native-check-box": "^2.1.7",
    "react-native-firebase": "^5.2.2",
    "react-native-interactable": "^0.1.10",
    "react-navigation": "^2.18.2"
  },
  "devDependencies": {
    "babel-preset-expo": "^5.0.0",
    "jest-expo": "^32.0.0"
  }
}


Run expo start
Expo DevTools is running at http://localhost:19009
Starting Metro Bundler on port 19011.
Successfully ran `adb reverse`. Localhost URLs should work on the connected Android device.
Your native app is running at exp2d1437b4f54d456bb554e0d5e90ab6d7://XX.XX.XX.XX:19010
Logs for your project will appear below. Press Ctrl+C to exit.

这是我在终端中获得的,但应用程序无法在设备中的任何位置运行。

0 个答案:

没有答案