You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Native Component for "RNCSlider" does not exist. #41
I don't think this should be closed - this did not fix it for me, I am still getting the same error
Reacted by Princiya Marina Sequeira, Tako Tabak, cshung1994, Mitch Downey, NM, Armando Aguirre, Dylan Greene, Vyacheslav Vasylencko, Pavel Lint, Jacky7788 and 26 more
I don't think this should be closed - this did not fix it for me, I am still getting the same error
Same for me.
One thing to note is that I use Expo and have not ejected the app.
Do I have to eject the app in order to use this slider or should it work with Expo as well?
Reacted by Arnaud de Surirey, Marcin D., at74S6v, Morgan Peters, Russell Holz, Martin Salles, Tom Lienard and nikita-zot-1408
Having the same issue -- link command worked fine but for some reason I'm getting that same error.
I don't think the RN team should be alerting people to switch over to this package until this is resolved. Lots of man hours wasted collectively speaking.
@aidanw what if users do not want to eject their application? This seems like a more fundamental issue with a native component that should not be breaking.
I have never used any of the not ejected stuff so I am not sure of the limitations... but yeah this pretty fundamental ui element being funky is bad news.
1- npm install @react-native-community/slider –save
2- react-native link @react-native-community/slider
3- include in your script file like import { Slider } from 'react-native' instead of import Slider from '@react-native-community/slider';
then expo start --clear
hopefully work for someone.
Reacted by Alena, wideru, Vishnu, Lucas Keiti, Mikko Tapaninen, Darshana Dilhan, Ramiro Vazquez, Bouchebaba Amine, James Chetwood, Steve Pedersen and 5 more
Reacted by buschco
Reacted by Sandun Jayawardhana, Tristan Southwell, Saket Shukla, Ashish Padakannaya, David Vartanian, Lucas Keiti, Blake Lucas, Sherwyn and Michael Ashefor
Reacted by Michael Ashefor and rexon
Reacted by Josh Siegl, Sherwyn and Michael Ashefor
1- npm install @react-native-community/slider –save
2- react-native link @react-native-community/slider
3- include in your script file like import { Slider } from 'react-native' instead of import Slider from '@react-native-community/slider';
then expo start --clear
hopefully work for someone.
This worked for me.
Reacted by Zain Ul Hassan, David Vartanian and Shawn Tobin
FYR: I got same issue. I challenged all the above solutions. But I couldn't.
Then I found out why I couldn't.
I use RN on Expo. Expo is not corresponded this library. So I can use previous react-native-slider. https://facebook.github.io/react-native/docs/slider
1- npm install @react-native-community/slider –save
2- react-native link @react-native-community/slider
3- include in your script file like import { Slider } from 'react-native' instead of import Slider from '@react-native-community/slider';
then expo start --clear
hopefully work for someone.
Please accept my knees.
Reacted by Jeton Thaçi, Ahmed Badawy, oguz turker, Michael Ashefor and jan-happy
1- npm install @react-native-community/slider –save
2- react-native link @react-native-community/slider
3- include in your script file like import { Slider } from 'react-native' instead of import Slider from '@react-native-community/slider';
Shouldn't "autolinking" work without any other intervention from us? Is this the problem? The "autolinking" fails somehow?
It appears that with manual linking it works, so I would recommend that this is considered a problem (bug?) with the "autolinking" process.
Activity
brlocky commentedon Apr 22, 2019
I got the same
https://take.ms/tSM5O
princiya commentedon Apr 23, 2019
+1 I have the same error.
nikonhub commentedon Apr 23, 2019
+1
LG1710 commentedon Apr 23, 2019
+1
LG1710 commentedon Apr 24, 2019
You need to link and it works :
react-native link @react-native-community/slider
michalchudziak commentedon Apr 24, 2019
Yeah, exactly what @LG1710 said - you need to run
react-native link @react-native-community/slider. Please check https://github.com/react-native-community/react-native-slider/blob/master/README.md for further instructions.pfeghali commentedon Apr 29, 2019
I don't think this should be closed - this did not fix it for me, I am still getting the same error
bakkelim commentedon Apr 30, 2019
Same for me.
One thing to note is that I use Expo and have not ejected the app.
Do I have to eject the app in order to use this slider or should it work with Expo as well?
aidanw commentedon May 3, 2019
I think I am also suffering from this problem. @michalchudziak could you look again?
This is the commit from running
react-native link @react-native-community/sliderhttps://github.com/fo-am/iCrapAppPro/commit/0ab743a8ce1d05bf41b6ed122a2da8b12e4e9a61I am okay on Android, but on Ios I get
The manual installation method has me drag something from
PushNotificationIOSinto my xcode... is this really what is meant?bobber205 commentedon May 6, 2019
Having the same issue -- link command worked fine but for some reason I'm getting that same error.
I don't think the RN team should be alerting people to switch over to this package until this is resolved. Lots of man hours wasted collectively speaking.
aidanw commentedon May 7, 2019
Do
pod installin youriosfolder and it works (for me).pfeghali commentedon May 7, 2019
@aidanw what if users do not want to eject their application? This seems like a more fundamental issue with a native component that should not be breaking.
aidanw commentedon May 8, 2019
I have never used any of the not ejected stuff so I am not sure of the limitations... but yeah this pretty fundamental ui element being funky is bad news.
24 remaining items
jamesmcn1 commentedon Sep 4, 2019
This works for me on RN 0.59
techtunix commentedon Dec 5, 2019
Do it like this!
1-
npm install @react-native-community/slider –save2-
react-native link @react-native-community/slider3- include in your script file like
import { Slider } from 'react-native'instead ofimport Slider from '@react-native-community/slider';then expo start --clear
hopefully work for someone.
sandunmj commentedon Dec 16, 2019
This worked for me.
sudokzt commentedon Jan 21, 2020
FYR: I got same issue. I challenged all the above solutions. But I couldn't.
Then I found out why I couldn't.
I use RN on Expo. Expo is not corresponded this library. So I can use previous react-native-slider.
https://facebook.github.io/react-native/docs/slider
[expo issue] expo/expo#4300
apadak commentedon Jan 23, 2020
Please accept my knees.
Ahmed-Badawy commentedon Feb 21, 2020
@ashish-padakannaya this worked, thanks man...
ddilhan commentedon Mar 20, 2020
you saved my day bro
buschco commentedon Jul 10, 2020
@techtunix Whats the point of adding and linking the
@react-native-community/sliderat all if you use the deprecated one from react-native?Lemaro86 commentedon Aug 21, 2020
Why you didn't write it in the readme? Just add rn link etc...
For RN 61 not working without manually linking for me.
pachun commentedon Oct 23, 2020
Note the last line there. That's what I'd been missing. Rebuild your app after adding native dependencies.
mstaicu commentedon Jan 9, 2021
I think it's worth mentioning that one must build the app after linking the packages
afilp commentedon Feb 24, 2021
Can you reopen this please?
I also have the same problem with RN 0.63.
Shouldn't "autolinking" work without any other intervention from us? Is this the problem? The "autolinking" fails somehow?
It appears that with manual linking it works, so I would recommend that this is considered a problem (bug?) with the "autolinking" process.
Thanks!
samdelong commentedon Apr 11, 2021
Restarting my Expo process worked for me (Using Expo 4.1.6)
[Docs] Update slider deprecation message (expo#5402)