Tried to register two views with the same name RNGestureHandlerButton

后端 未结 8 2119
臣服心动
臣服心动 2021-02-05 17:35

I try to create navigation with { createStackNavigator, createAppContainer } from \'react-navigation\' but when a start my application i always receive error

I try a lo

8条回答
  •  天涯浪人
    2021-02-05 18:14

    going off of @Andrew's answer, the issue may sometimes even be a little subtler than an extraneous manual install of react-native-gesture-handler: for me, i found out that a package i updated recently included their own copy of react-native-gesture-handler as a dependency (found out by doing a search through my yarn.lock, package-lock.json, node_modules, etc.) - so i had to downgrade that package to a version that wasn't dependent on react-native-gesture-handler..

提交回复
热议问题