目前,我正在将我的react原生应用程序迁移到expo bare workflow。到目前为止一切都很好,除了以下几点。这可能看起来像一个菜鸟错误,但当我从Xcode运行我的应用程序时,我无法使用来自Expo的MetroBundler。以前,我可以从Xcode运行,模拟器会出现在MetroBundler中,其中包含它的所有日志,这非常有用。 我已经搜索了几天了,我找到的最接近我想要的东西就是使用expo build:ios。编辑
C:\Users\smiz\Desktop\dev\react-native\cleaningservices>expostart Could not get status from Metrobundler. connect ECONNREFUSED 127.0.0.1:19001
Connecting to Metrobundler<
无法从Metrobundler获取状态。connect ECONNREFUSED 127.0.0.1:19001错误:连接到Metrobundler失败。(内部/进程/任务_队列.js:93:5) at startReactNativeServerAsync (C:\xdl@59.0.27\src\start\startLegacyReactNativeServerAsync.ts:285:3) at startAsync (C:\xdl@59.0.27\src\start
我使用的是expo-cli 2.6.14,react-native 0.57.1,世博SDK31.0.0。为了启动在世博会应用程序上运行的项目,我使用了expostart。如果我一次又一次地运行expostart,它最终会工作,但这是浪费了很多时间。这是我得到的错误:
Could not get status from Metrobundler. connect ECONNREFUSED 127.0.0.1:1
我正在尝试使用nodejs提示符打开我的expo项目,但我一直收到以下错误:Starting project at C:Connecting to Metrobundler failed.Error: Connecting to Metrobundler failed.<anonymous> (C:\Users\Regis\AppData\Roami
我希望能够通过从应用商店下载的expo应用来测试使用react-native init创建的应用。我该怎么做呢?我正在尝试使用纯react原生(根本不是expo ),并想在我的iOS设备上测试我的代码。不久前,我只需运行npm start,就可以通过世博会应用程序做到这一点。但是,现在当我运行npm start时,我只看到Running MetroBundler on port 8081.。
正在尝试在使用react-native run-android连接的移动设备上运行react本机应用程序。C:\xampp\htdocs\projectname>react-native run-android
info Running jetifier to migrate librariesreact-native-firebase: using React Native prebuilt binary from C:\x