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: "RCTImageView" was not found in the UIManager.

See original GitHub issue

Environment

Run react-native info in your terminal and paste its contents here.

React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
      Memory: 115.80 MB / 6.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 11.0.0 - /usr/local/bin/node
      Yarn: 1.10.0 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    IDEs:
      Android Studio: 3.1 AI-173.4819257
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.3 => 16.6.3
      react-native: 0.57.8 => 0.57.8
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

Description

there is my logs, and the current react-native version is 0.57.8, in the pod file, also write with ‘RCTImage’, as for those, how can i resolve this problem

this is log of the simulator

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

This error is located at:
    in RCTImageView (at Image.ios.js:104)
    in ForwardRef(Image) (at react-chatail/index.js:24)
    in RCTView (at View.js:45)
    in View (at react-chatail/index.js:21)
    in RNHighScores (at renderApplication.js:34)
    in RCTView (at View.js:45)
    in View (at AppContainer.js:98)
    in RCTView (at View.js:45)
    in View (at AppContainer.js:115)
    in AppContainer (at renderApplication.js:33)

getNativeComponentAttributes
    getNativeComponentAttributes.js:29:4
get
    ReactNativeViewConfigRegistry.js:104:25
createInstance
    ReactNativeRenderer-dev.js:3946:53
completeWork
    ReactNativeRenderer-dev.js:13386:12
completeUnitOfWork
    ReactNativeRenderer-dev.js:15893:10
performUnitOfWork
    ReactNativeRenderer-dev.js:16103:30
workLoop
    ReactNativeRenderer-dev.js:16115:41
renderRoot
    ReactNativeRenderer-dev.js:16219:15
performWorkOnRoot
    ReactNativeRenderer-dev.js:17198:17
performWork
    ReactNativeRenderer-dev.js:17099:24
performSyncWork
    ReactNativeRenderer-dev.js:17060:14
requestWork
    ReactNativeRenderer-dev.js:16925:19
scheduleWork
    ReactNativeRenderer-dev.js:16724:16
scheduleRootUpdate
    ReactNativeRenderer-dev.js:17413:15
render
    ReactNativeRenderer-dev.js:18191:20
renderApplication
    renderApplication.js:59:34
run
    AppRegistry.js:101:10
runApplication
    AppRegistry.js:195:26
__callFunction
    MessageQueue.js:349:47
<unknown>
    MessageQueue.js:106:26
__guard
    MessageQueue.js:297:10
callFunctionReturnFlushedQueue
    MessageQueue.js:105:17

those are some pictures of the issue image image image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

2reactions
rahamin1commented, Jul 15, 2019

There is additional information about this problem in android, here: https://stackoverflow.com/questions/55532052/invariant-violation-requirenativecomponent-rctview-was-not-found-in-the-uima

Copying from this link:

The problem

When i start remote js debugging from the dev menu and reload my react-native app in the android simulator this error appears

Workaround

I experienced this on Android when I tried to start remote JS debugging while JS Dev Mode was turned off. I fixed it by going to the Dev Settings menu and re-enabling dev mode.

Does anybody have an idea about why this happens?

2reactions
MIyulongcommented, Dec 20, 2018

why closed my issue, as for this issue i can’t solve, so hope them to help me

Read more comments on GitHub >

github_iconTop Results From Across the Web

react native - "RCTImageView" was not found in the UIManager
How to fix 'Invariant Violation: requireNativeComponent: "RNGADBannerView" was not found in the UIManager'? 0 · invariant violation: ...
Read more >
"Rncsafeareaprovider" Was Not Found In The Uimanager
Invariant Violation: requireNativeComponent: RCTImageView was not found in the UIManager. This error is located at: in RCTImageView at Image.ios.js:104.
Read more >
How to fix “RNCSafeAreaProvider” was not found in ... - Medium
1.) Uninstall the app. ... 3.) npx react-native run-android to build the app again. The “RNCSafeAreaProvider” was not found in the UIManager Error...
Read more >
"RCTImageView" was not found in the UIManager. - 简书
Invariant Violation : requireNativeComponent: "RCTImageView" was not found in the UIManager. 灬小0哥 关注. 2018.12.18 22:22:18 字数134.
Read more >
How to fix"AIRMap" was not found in the UIManager error in ...
[Solved]-How to fix"AIRMap" was not found in the UIManager error in react ... Invariant Violation: requireNativeComponent: "RNCViewPager" was not found in ...
Read more >

github_iconTop Related Medium Post

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