question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TurboModuleRegistry NativeReanimated error

See original GitHub issue

Description

Using this package along with React Native Reanimated Bottom Sheet, I get this error on Android. (ios works great!)

Dismissing the error on my android emulator results in a blank white screen.

client_log | Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'NativeReanimated' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes

[3] cllient_log | Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication), js engine: hermes
Screen Shot 2020-08-15 at 1 14 37 PM

Screenshots

Steps To Reproduce

  1. Install and link Reanimated v2
  2. Install React native Bottom Sheet Lib (Uses reanimated v2)
  3. Add any components that have a Reanimated v2 dependency

Expected behavior

App is usable

Actual behavior

App fails with the above error

Package versions

  • React: 16.13.1
  • React Native: 0.63.2
  • React Native Reanimated: 2.0.0-alpha.5
  • React Native Reanimated Bottom Sheet: ^1.0.0-alpha.22

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:17
  • Comments:87 (7 by maintainers)

github_iconTop GitHub Comments

29reactions
koktavycommented, Nov 10, 2020

When loading with 2.0.0-alpha.8 I’m still running into ExceptionsManager.js:179 Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'NativeReanimated' could not be found. Verify that a module by this name is registered in the native binary.

18reactions
piaskowykcommented, Apr 8, 2021

We got rid of TurboModuleRegistry.getEnforcing() in version 2.0.1, so I think that upgrade could help. Let me know if it works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting error in Latest version of React-native-reanimated
I have installed "react-native-reanimated^2.0.0" and run the project than it gives me ... ERROR Invariant Violation: TurboModuleRegistry.
Read more >
Reanimated 2.0 stable release is out! : r/reactnative
Cause - React Native Reanimated 2.0. Hello,. I got this[TurboModuleRegistry.getEnforcing(...): 'NativeReanimated'] error and i found the ...
Read more >
react native cli DrawerNavigator part 1 بالعربي - YouTube
react native cli DrawerNavigator part 1 بالعربي || TurboModuleRegistry NativeReanimated error. Watch later. Share. Copy link.
Read more >
react native reanimated error - You.com | The search engine ...
Whenever the app is involve with react native/drawer & and react-native-reanimated. This error log is given. Invariant Violation: TurboModuleRegistry.
Read more >
'DevSettings' could not be found-React Native
Coding example for the question Invariant Violation: TurboModuleRegistry.getEnforcing(. ... score:1. Due to this version change the above error occurs.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found