79079848

Date: 2024-10-11 22:21:27
Score: 1.5
Natty:
Report link

I experienced this same error and have struggled to fix this for 5 days. I am using Expo SDK 51. The solution in this link helped me to resolve the error: registerRootComponent.

The Expo SDK requires a different way to registerRootComponent.

import { registerRootComponent } from 'expo';
import { View } from 'react-native';
function App() {

   return <View />;

}

registerRootComponent(App);
Reasons:
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Profsain