react-native-slider
react-native-slider copied to clipboard
Invariant Violation: View config getter callback for component `RNCSlider` must be a function (received `undefined`)
Invariant Violation: View config getter callback for component `RNCSlider` must be a function (received `undefined`)
I am facing below issue while trying to integrating into React Native application
Invariant Violation: View config getter callback for component RNCSlidermust be a function (receivedundefined).
Originally posted by @lokeshphilips in https://github.com/callstack/react-native-slider/issues/330#issuecomment-2149346430
How to solve this? im also facing the same issue in new expo project
rm -rf node_modules # Delete node_modules npm install # Reinstall dependencies npm start --reset-cache # Clear Metro cache and start the server cd ios && pod install # Reinstall CocoaPods dependencies
Thanks, but i figured that already. It was my mistake that idk that when installing a native module in expo needs a development build, so after building a development build has resolved that.
Closing this issue as there have been no further reports and it seems to no longer be present. If this problem resurfaces or you encounter a related issue, please feel free to open a new issue or comment here. Thanks for your contribution and for helping improve the project!