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.

Invariant Violation: requireNativeComponent: "RNCMaskedView" was not found in the UIManager.

See original GitHub issue
Unhandled JS Exception: Invariant Violation: Invariant Violation: requireNativeComponent: "RNCMaskedView" was not found in the UIManager.

This error is located at:
    in RNCMaskedView (at MaskedView.ios.js:73)

I keep getting this error when using the community version. But when I used the Deprecated MaskedViewIOS it works.

I’ve done react-native link @react-native-community/masked-view successfully. So not sure what’s wrong

Versions:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12

github_iconTop GitHub Comments

6reactions
rymatechcommented, Aug 12, 2019

Delete Build, yarn add @react-native-community/masked-view, react-native link @react-native-community/masked-view, cd ios, pod install, restart the simulator

6reactions
FonDorncommented, May 14, 2019

Your problem was that you didn’t rebuild and restart application after linked library. This issues is closed. Whats about warning - it is just warning and does not affect the operation of the module. This warning will fixed in next version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invariant Violation: requireNativeComponent ... - GitHub
Unhandled JS Exception: Invariant Violation: Invariant Violation: requireNativeComponent: "RNCMaskedView" was not found in the UIManager.
Read more >
React Native: Tried to register two views with the same name ...
I'm not planning to maintain @react-native-community/masked-view package, as the namespace has changed to @react-native-masked-view.
Read more >
"rnsscreen" was not found in the uimanager. - Code Examples ...
Invariant Violation : requireNativeComponent: "RNSScreen" was not found in the UIManager. Comment. 1.
Read more >
ERROR Invariant Violation: requireNativeComponent ...
Answers related to “ERROR Invariant Violation: requireNativeComponent: "RNCSafeAreaView" was not found in the UIManager.”.
Read more >
RNCSafeAreaView was not found in the UIManager React ...
react-native-safe-area-context which handles Safe Area in both android and iOS. RNCSafeAreaView was not found in the UIManager React Native.
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