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

See original GitHub issue

Environment

System: OS: macOS 10.14.6 CPU: (4) x64 Intel® Core™ i5-5257U CPU @ 2.70GHz Memory: 279.09 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 12.10.0 - /usr/local/bin/node npm: 6.10.3 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3 Android SDK: API Levels: 23, 28 Build Tools: 28.0.3 System Images: android-28 | Google APIs Intel x86 Atom IDEs: Android Studio: 3.3 AI-182.5107.16.33.5199772 Xcode: 10.3/10G8 - /usr/bin/xcodebuild npmPackages: react: 16.8.6 => 16.8.6 react-native: 0.60.5 => 0.60.5 npmGlobalPackages: react-native-cli: 2.0.1 react-native-git-upgrade: 0.2.7

Description

Im getting this error after npm install @react-native-community/slider@2.0.0 in iOS

Invariant Violation: requireNativeComponent: “RNCSlider” was not found in the UIManager.

This error is located at: in RNCSlider (at Slider.js:247) in ForwardRef(Slider) (at App.tsx:64) in RCTText (at Text.js:159) in TouchableText (at Text.js:283) in Text (at App.tsx:62) in RCTView (at View.js:35) in View (at card.tsx:5) in Card (at App.tsx:40) in HomeScreen (at SceneView.tsx:93) in StaticContainer in StaticContainer (at SceneView.tsx:85) in EnsureSingleNavigator (at SceneView.tsx:84) in SceneView (at useDescriptors.tsx:109) in RCTView (at View.js:35) in View (at ResourceSavingScene.tsx:42) in RCTView (at View.js:35) in View (at ResourceSavingScene.tsx:26) in ResourceSavingScene (at BottomTabView.tsx:212) in RCTView (at View.js:35) in View (at screens.native.js:124) in ScreenContainer (at BottomTabView.tsx:202) in RCTView (at View.js:35) in View (at BottomTabView.tsx:201) in BottomTabView (at createBottomTabNavigator.tsx:43) in BottomTabNavigator (at App.tsx:103) in EnsureSingleNavigator (at NavigationContainer.tsx:223) in ForwardRef(NavigationContainer) (at NavigationNativeContainer.tsx:30) in ForwardRef(NativeContainer) (at App.tsx:102) in App (at renderApplication.js:40) in RCTView (at View.js:35) in View (at AppContainer.js:98) in RCTView (at View.js:35) in View (at AppContainer.js:115) in AppContainer (at renderApplication.js:39)

getNativeComponentAttributes getNativeComponentAttributes.js:29:4 get ReactNativeViewConfigRegistry.js:104:25 renderRoot [native code]:0 runRootCallback [native code]:0 renderApplication renderApplication.js:67:52 run AppRegistry.js:114:10 runApplication AppRegistry.js:213:26 callFunctionReturnFlushedQueue [native code]:0

Reproducible Demo

import Slider from ‘@react-native-community/slider’; <Slider onValueChange={belaningsgrad => setState({ …state, belaningsgrad, }) } value={state.belaningsgrad} minimumValue={50} maximumValue={85} />

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:14
  • Comments:22

github_iconTop GitHub Comments

11reactions
antontelichenkocommented, Nov 6, 2019

guys, you can use this slider from react native documentation instead. https://facebook.github.io/react-native/docs/0.9/slider

8reactions
fortydegreescommented, May 11, 2020

Are there any plans to make this work with Expo 37?

Read more comments on GitHub >

github_iconTop Results From Across the Web

RNCSlider was not found in the UI Manager when trying to ...
</Slider> tags, I get the following compile error: ERROR Invariant Violation: requireNativeComponent: "RNCSlider" was not found in the UIManager ...
Read more >
"RNCSlider" was not found in the UIManager. - YouTube
ERROR Invariant Violation : requireNativeComponent : " RNCSlider" was not found in the UIManager.Please do like share and comment if you like ...
Read more >
"RNCSlider" was not found in the UIManager. - Bountysource
I am getting the following import error on only tvos devices. Invariant Violation: requireNativeComponent: "RNCSlider" was not found in the ...
Read more >
RNCSlider was not found in the UI Manager when trying to ...
Coding example for the question RNCSlider was not found in the UI Manager when ... Invariant Violation: requireNativeComponent: "RNCViewPager" was not found ......
Read more >
“react native require native component "RNCSafeAreaView ...
Invariant Violation : requireNativeComponent: "RNCWebView" was not found in the UIManager. shell by Grieving Gharial on Jul 31 2021 Comment.
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