-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not compatible with @react-native-picker/picker v2.1.0 #458
Comments
Same issue |
@bittu1028 @ramisalem - what are you experiencing exactly? which platform? which deps? etc... |
Try this as a quick troubleshooting checklist: (in order)
Double check that your You can also try to repeat the steps starting at 5, by completely removing your local node modules If you are still seeing the same error after all of this, it might be another dep in your package.json that is including the old community picker in its source. |
If you follow the current readme, this library will end up installing 2 versions of @react-native-picker/picker. That's what causes this issue. I got it working by installing @react-native-picker/picker with I believe the dependency configuration around @react-native-picker/picker could be improved in this library. I made a PR using @react-native-picker/picker as a peerDependency. You could also just upgrade the dependency to the latest in the current package.json ( |
If you are using Yarn, you can solve this temporarily by forcing react-native-picker-select to resolve to ^2.1.0 instead of ^1.8.3 using yarn resolutions. In package.json, add:
|
newest version uses 2.4 |
No description provided.
The text was updated successfully, but these errors were encountered: