skip to Main Content
[Reanimated] Mismatch between JavaScript part and native part of Reanimated (3.0.2 vs. 2.14.4). Did you forget to re-build the app after upgrading react-native-reanimated? If you use Expo Go, you must downgrade to 2.14.4 which is bundled into Expo SDK.

ERROR TypeError: Cannot read property ‘create’ of undefined, 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

2

Answers


  1. if u are using expo, there might be facing this kind of version issues due to differences between react native cli.
    The solution that u can try is to change your dependencies version of react native reanimated in package json to "react-native-reanimated": "^2.14.4",
    and run npm install.
    Last try to run command: expo start -c to reset the cache in your app and it will works perfectly fine!

    Login or Signup to reply.
  2. Firstly;
    run npm install [email protected].4

    After;
    start with expo start -c

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search