Invariant Violation: Tried to register two views with the same name RNCPicker
See original GitHub issueDescribe the bug
I am trying to implement this react-native-picker-select
in the react-native
app but after npm install, tried to run the app but Invariant Violation: Tried to register two views with the same name RNCPicker
Screenshots
Additional details
- Device: [e.g. iPhone11]
- OS: [e.g. iOS14.1]
- react-native-picker-select version: [e.g. 8.0.1]
- “@react-native-picker/picker”: “^1.8.3”,
- react-native version: [e.g. 0.63]
Issue Analytics
- State:
- Created 3 years ago
- Reactions:18
- Comments:33
Top Results From Across the Web
Invariant Violation: Tried to register two views with the same ...
To get rid of that, do the following: Since the error is about registering two views with the same name, declare your Picker...
Read more >Tried to register two views with the same name RNCPicker
Hello everyone I'm trying to use lib `react-native-picker-select` on my custom code, intending to create a custom select picker.
Read more >Tried to register two views with the same name RNSVGSvgView
Hello, why I get this error message? Tried to register two views with the same name RNSVGSvgVie I want to use svg, and...
Read more >ERROR Invariant Violation: Tried to register two views with the ...
Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the...
Read more >Invariant Violation: Tried to register two views with the same ...
Coding example for the question Invariant Violation: Tried to register two views with the same name RNCSafeAreaProvider error with ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
my working together versions
If you have “@react-native-community/picker” installed in your package.json, please replace it to “@react-native-picker/picker”. The dependency changed its npm repository name and it creates this issue if you have the old one still installed