javascript - 无法在另一个系统上运行 Existing expo 项目,
问题描述
我无法使用 expo start 启动 expo 项目。Bundler 正在运行,但是当我在 expo 客户端中扫描 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.
这是我在终端中得到的,但应用程序没有在设备的任何地方运行。
解决方案
推荐阅读
- netsuite - NetSuite 如何从技术角度核对银行对账单?
- python - 如何保存机器人框架中嵌入参数的先前实例?
- google-sheets - Google Sheets 对具有相同第一个单元格值的行求和,按第一行值分组
- r - 绘制堆积条形图 add_trace 循环问题
- azure - Azure DevOps 和 Azure Active Directory
- sql-server - 如何将运行在 Docker 容器中的 Flyway 连接到运行在 Docker 容器中的数据库?
- automation - 使用 RDP 进行社区版执行的 Uipath 自动化
- angular - Angular Material Elevate 不在 2 个组件之间显示
- jquery - Jquery Datatable根据值更改行颜色
- airflow - 有没有办法将失败的 Airflow 任务的错误文本传递给另一个任务?