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

猜你喜欢

转载自blog.csdn.net/u011215669/article/details/80994816