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.

[Android] [RN 0.56.0] Invariant Violation: requireNativeComponent: "GestureHandlerRootView" was not found in the UIManager.

See original GitHub issue

I’m getting the following error when starting my App on Android (in Debug) with RN 0.56.0:

error

Is anyone else seeing this error, or has seen it before?

Some additional information

I’m using react-native-navigation and followed the guide to replace my Views with gestureHandlerRootHOC(…) in Navigation.registerComponent(…).

I’m starting a tab-based App (Navigation.startTabBasedApp(…)), where Profile is the last tab. If I remove Profile, the now last tab will be where the error occurs.

I made Profile render just a single View. If there are nested Views, the Error occurs in the first Component without children.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
kmagieracommented, Jul 12, 2018

Just published 1.0.6 that includes this fix. Thanks everyone for reporting and testing the fix!

2reactions
nareg-nacommented, Mar 8, 2022

delete the node modules, run expo install and then expo install react-native-gesture-handler

Read more comments on GitHub >

github_iconTop Results From Across the Web

"RNGestureHandlerRootView" was not found in the UIManager
Invariant Violation : requireNativeComponent: "RNGestureHandlerRootView" was not found in the UIManager. This error is located at: in ...
Read more >
RNGestureHandlerRootView was not found in the UIManager
Invariant Violation : requireNativeComponent: "RNGestureHandlerRootView" was not found in the UIManager... as shown in screenshot.
Read more >
react-native-safe-area-view | ️ Deprecated - kandi
Couldn't find a 'component' or 'children' prop for the screen 'Home'. This can happen if you passed 'undefined'. Error with react-navigate v5?
Read more >
How to fix “RNCSafeAreaProvider” was not found in ... - Medium
npx react-native run-android to build the app again. The “RNCSafeAreaProvider” was not found in the UIManager Error should be gone by now ;)....
Read more >
[Android] [RN 0.56.0] Invariant Violation: requireNativeComponent ...
Ask questions[Android] [RN 0.56.0] Invariant Violation: requireNativeComponent: "GestureHandlerRootView" was not found in the UIManager. I'm getting the ...
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