vasavi vasavi - 1 year ago 167
Javascript Question

Failure to call AppRegistry.registerComponent

I created a new project using
react-native init Wevaha
,after that i
excute it work's properly then i modified sample app based on my
requirement again run it works properly but the next time while
running the app i am gettingthe erroe like

' Application Wevaha has not been registered.This is either due to a require() error during intialization or failure to call


The screen shot attached below please find it
enter image description here

Answer Source

It is likely that you already have another React Native packager server running for another app or that the app name in AppDelegate.m and your index.js is not the same.

Try closing all terminal windows, double check the value of moduleName and run the project again.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download