react-native - “npx react-native start”挂起
问题描述
介绍
我正在尝试使用官方文档创建一个带有 React Native 0.63.3 的 Hello World 风格的程序。我正在使用该链接中的React Native CLI 快速入门路径。
到目前为止我做了什么
我已进入以下部分:
运行您的 React Native 应用程序
第 1 步:启动 Metro
我跑了:
npx react-native start --verbose
我得到以下输出:
###### ######
### #### #### ###
## ### ### ##
## #### ##
## #### ##
## ## ## ##
## ### ### ##
## ######################## ##
###### ### ### ######
### ## ## ## ## ###
### ## ### #### ### ## ###
## #### ######## #### ##
## ### ########## ### ##
## #### ######## #### ##
### ## ### #### ### ## ###
### ## ## ## ## ###
###### ### ### ######
## ######################## ##
## ### ### ##
## ## ## ##
## #### ##
## #### ##
## ### ### ##
### #### #### ###
###### ######
debug Checking for a newer version of React Native
debug Current version: 0.63.3
debug Cached release version: 0.60.0
debug Checking for newer releases on GitHub
Welcome to React Native!
Learn once, write anywhere
To reload the app press "r"
To open developer menu press "d"
debug Latest release: 0.60.0
按“r”给出以下信息:
No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB.
info Reloading app...
按“d”给出以下信息:
warn No apps connected. Sending "devMenu" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB.
info Opening developer menu...
问题
如何成功运行并完成 Metro 进程,以便我可以运行我的 React Native 应用程序?
解决方案
推荐阅读
- c# - C# .NET DocX 将标题插入图像
- reactjs - 反应弹簧过渡设置“无”以在输入中进行转换
- python - 在django的管理面板上添加记录后无法将记录插入数据库
- python - 用分组表格中最常见的值填充缺失值
- php - 对图像中的颜色区域进行分组
- python - 将 href 设置为动态视图名称
- mongodb - 是否有可能在 2 台不同机器上的 MongoDbs 上生成相同的 ObjectId
- ssh-tunnel - 无法使用 SSH 隧道将 MongoDB Compass 连接到 AWS DocumentDB
- .net-core - serilog 不创建日志文件
- php - 编辑数据时如何从 http://localhost:8000/posts/2/edit 中删除 id