react-native start停止在Loading dependency graph, done.

在试验的过程中。

发现运行 react-native start会卡住,停留在Loading dependency graph, done.

原因大概是之前运行过 react-native run-android。但是检查8081端口并没有占用(windows系统):

netstat -aon|findstr "8081"

对于这个问题:

如果只有一个设备,可以执行:

adb reverse tcp:8081 tcp:8081

至于adb命令怎么来的,参见上一篇博客

原文地址:https://www.cnblogs.com/xiaochongchong/p/11459773.html