Skip to content
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

TypeError: undefined is not an object (evaluating '_helpers.extractOpacity') #43

Open
khooj002 opened this issue Dec 27, 2020 · 0 comments

Comments

@khooj002
Copy link

khooj002 commented Dec 27, 2020

I keep getting this error on wrapping neomorph around or inside touchopacity or view.
May I know how can I fix this?

TypeError: undefined is not an object (evaluating '_helpers.extractOpacity')

        <Neomorph
        inner // <- enable shadow inside of neomorph
        swapShadows // <- change zIndex of each shadow color
       style={{
         shadowRadius: 10,
        borderRadius: 25,
         backgroundColor: '#DDDDDD',
         width: 150,
         height: 150,
      }}
      >
        <View style={styles.image}>
             <Image
                source={rowData.picture}
                style={styles.cardImage}
                  />
        </View>
        </Neomorph>
        <Text style={{ color: 'black', fontSize: 10, textAlign: 'center' }}>{rowData.title}</Text>
        </TouchableOpacity>

Stacktrace below:
This error is located at:
in Group (created by InnerShadowART)
in ARTSurfaceView (created by Surface)
in Surface (created by InnerShadowART)
in InnerShadowART (created by InnerShadow)
in RCTView (created by View)
in View (created by InnerShadow)
in RCTView (created by View)
in View (created by InnerShadow)
in InnerShadow (created by Shadow)
in Shadow (created by CellRenderer)
in RCTView (created by View)
in View (created by Card)
in Card (created by CellRenderer)
in RCTView (created by View)
in View (created by CellRenderer)
in RCTView (created by View)
in View (created by CellRenderer)
in CellRenderer (created by VirtualizedList)
in AndroidHorizontalScrollContentView (created by ScrollView)
in AndroidHorizontalScrollView (created by ScrollView)
in ScrollView (created by ScrollView)
in ScrollView (created by VirtualizedList)
in VirtualizedList (created by FlatList)
in FlatList (created by Dharma)
in RCTView (created by View)
in View (created by Dharma)
in RCTView (created by View)
in View (created by Dharma)
in RCTView (created by View)
in View (created by Frame)
in RCTView (created by View)
in View (created by Frame)
in RCTView (created by View)
in View (created by ForwardRef(SafeAreaView))
in ForwardRef(SafeAreaView) (created by Frame)
in Frame (created by Dharma)
in Dharma (created by SceneView)
in StaticContainer
in StaticContainer (created by SceneView)
in EnsureSingleNavigator (created by SceneView)
in SceneView (created by CardContainer)
in RCTView (created by View)
in View (created by CardContainer)
in RCTView (created by View)
in View (created by CardContainer)
in RCTView (created by View)
in View (created by ForwardRef(CardSheet))
in ForwardRef(CardSheet) (created by Card)
in RCTView (created by View)
in View (created by AnimatedComponent)
in AnimatedComponent (created by ForwardRef(AnimatedComponentWrapper))
in ForwardRef(AnimatedComponentWrapper) (created by PanGestureHandler)
in PanGestureHandler (created by PanGestureHandler)
in PanGestureHandler (created by Card)
in RCTView (created by View)
in View (created by AnimatedComponent)
in AnimatedComponent (created by ForwardRef(AnimatedComponentWrapper))
in ForwardRef(AnimatedComponentWrapper) (created by Card)
in RCTView (created by View)
in View (created by Card)
in Card (created by CardContainer)
in CardContainer (created by CardStack)
in RCTView (created by View)
in View (created by MaybeScreen)
in MaybeScreen (created by CardStack)
in RCTView (created by View)
in View (created by MaybeScreenContainer)
in MaybeScreenContainer (created by CardStack)
in CardStack (created by Context.Consumer)
in KeyboardManager (created by Context.Consumer)
in SafeAreaProviderCompat (created by StackView)
in GestureHandlerRootView (created by Context.Consumer)
in GestureHandlerRootView (created by StackView)
in StackView (created by StackNavigator)
in StackNavigator (created by DharmaStack)
in DharmaStack (created by SceneView)
in StaticContainer
in StaticContainer (created by SceneView)
in EnsureSingleNavigator (created by SceneView)
in SceneView (created by BottomTabView)
in RCTView (created by View)
in View (created by SceneContent)
in SceneContent (created by BottomTabView)
in RCTView (created by View)
in View (created by ResourceSavingScene)
in RCTView (created by View)
in View (created by ResourceSavingScene)
in ResourceSavingScene (created by BottomTabView)
in RCTView (created by View)
in View (created by ScreenContainer)
in ScreenContainer (created by BottomTabView)
in RCTView (created by View)
in View (created by BottomTabView)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by Context.Consumer)
in SafeAreaProviderCompat (created by BottomTabView)
in BottomTabView (created by BottomTabNavigator)
in BottomTabNavigator (created by App)
in EnsureSingleNavigator (created by ForwardRef(BaseNavigationContainer))
in ForwardRef(BaseNavigationContainer) (created by ForwardRef(NavigationContainer))
in ThemeProvider (created by ForwardRef(NavigationContainer))
in ForwardRef(NavigationContainer) (created by App)
in App
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant