I get error " ERROR TypeError: Cannot read property 'createNode' of null, js engine: hermes" and " Invariant Violation: "main" has not been registered." #417
The steps I have used
npm install react-native-reanimated-carousel
then installed
npm install react-native-gesture-handler and npx expo install react-native-reanimated
then I edited my App.js to add GestureHandlerRootView
In my console I got this error when I ran npx expo start --dev-client and then opened it in android device
ERROR TypeError: Cannot read property 'createNode' of null, js engine: hermes
ERROR Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes
The steps I have used
npm install react-native-reanimated-carousel
then installednpm install react-native-gesture-handler
andnpx expo install react-native-reanimated
then I edited my App.js to addGestureHandlerRootView
then I edited my babel.config.js
then I made a carousel component like this
In my console I got this error when I ran
npx expo start --dev-client
and then opened it in android device