ReactNative bug:Application XXX has not bean registered.

故障现象

react-native init新项目之后运行react-native run
-android/ios
时手机报错

Application XXX has not bean registered.

原因

在创建新项目时已经运行了一个node服务器,导致node无法识别新项目

处理方式

关闭所有node服务器,重新运行run

原文地址:https://www.cnblogs.com/YooHoeh/p/9300945.html