picker
picker copied to clipboard
ERROR TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[26], "@react-native-picker/picker").Picker')
ERROR TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[26], "@react-native-picker/picker").Picker')
This error is located at: in NewAd (at SceneView.tsx:122) in StaticContainer in EnsureSingleNavigator (at SceneView.tsx:114) in SceneView (at useDescriptors.tsx:153) in RCTView (at View.js:34) in View (at BottomTabView.tsx:55) in SceneContent (at BottomTabView.tsx:172) in RNSScreen (at createAnimatedComponent.js:217) in AnimatedComponent (at createAnimatedComponent.js:278) in AnimatedComponentWrapper (at src/index.native.tsx:127) in Screen (at ResourceSavingScene.tsx:30) in ResourceSavingScene (at BottomTabView.tsx:166) in RNSScreenContainer (at src/index.native.tsx:165) in ScreenContainer (at BottomTabView.tsx:146) in SafeAreaProviderCompat (at BottomTabView.tsx:145) in BottomTabView (at createBottomTabNavigator.tsx:45) in BottomTabNavigator (at AppContainer.js:49) in TabsScreen (at SceneView.tsx:122) in StaticContainer in EnsureSingleNavigator (at SceneView.tsx:114) in SceneView (at useDescriptors.tsx:153) in RCTView (at View.js:34) in View (at CardContainer.tsx:245) in RCTView (at View.js:34) in View (at CardContainer.tsx:244) in RCTView (at View.js:34) in View (at CardSheet.tsx:33) in CardSheet (at Card.tsx:573) in RCTView (at View.js:34) in View (at createAnimatedComponent.js:217) in AnimatedComponent (at createAnimatedComponent.js:278) in AnimatedComponentWrapper (at Card.tsx:555) in PanGestureHandler (at GestureHandlerNative.tsx:13) in PanGestureHandler (at Card.tsx:549) in RCTView (at View.js:34) in View (at createAnimatedComponent.js:217) in AnimatedComponent (at createAnimatedComponent.js:278) in AnimatedComponentWrapper (at Card.tsx:544) in RCTView (at View.js:34) in View (at Card.tsx:538) in Card (at CardContainer.tsx:206) in CardContainer (at CardStack.tsx:623) in RNSScreen (at createAnimatedComponent.js:217) in AnimatedComponent (at createAnimatedComponent.js:278) in AnimatedComponentWrapper (at src/index.native.tsx:127) in Screen (at Screens.tsx:74) in MaybeScreen (at CardStack.tsx:616) in RNSScreenContainer (at src/index.native.tsx:165) in ScreenContainer (at Screens.tsx:50) in MaybeScreenContainer (at CardStack.tsx:498) in CardStack (at StackView.tsx:462) in KeyboardManager (at StackView.tsx:458) in RNCSafeAreaProvider (at SafeAreaContext.tsx:76) in SafeAreaProvider (at SafeAreaProviderCompat.tsx:42) in SafeAreaProviderCompat (at StackView.tsx:455) in GestureHandlerRootView (at GestureHandlerRootView.android.tsx:26) in GestureHandlerRootView (at StackView.tsx:454) in StackView (at createStackNavigator.tsx:87) in StackNavigator (at AppContainer.js:98) in EnsureSingleNavigator (at BaseNavigationContainer.tsx:409) in BaseNavigationContainer (at NavigationContainer.tsx:91) in ThemeProvider (at NavigationContainer.tsx:90) in NavigationContainer (at AppContainer.js:96) in AppContainer (at App.js:35) in Provider (at App.js:28) in App (at renderApplication.js:47) in RCTView (at View.js:34) in View (at AppContainer.js:107) in RCTView (at View.js:34) in View (at AppContainer.js:134) in AppContainer (at renderApplication.js:40)
Could you provide a example repository that will reproduce the error? That would help a lot with debugging, Thank you!
Any new on this?.. it's happening on RN 0.66
This solves the issue: https://github.com/react-native-picker/picker/issues/223#issuecomment-858540494
This solves the issue: #223 (comment)
DIdn't work for me. Also on RN 66 and react-native-picker v2.2.1
Find the following dependencies in my package.json
:
"dependencies": {
"native-base": "2.15.2",
}
and
"resolutions": {
"@react-native-picker/picker": "^2.1.0"
},
I tested it a few times and from what I observed, from these versions my application worked.
Having same issue, it comes and goes randomly.