To solve ERROR Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication() error you need to Clear your react-native cache error will resolve this error.