Tried to register two views with the same name RNGestureHandlerButton

后端 未结 8 2159
臣服心动
臣服心动 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 17:58

    I am not using expo and I had the same problem. I fixed it by going into my "package-lock.json" file and find "react-native-gesture-handler" and removed the whole package with dependencies. After this, in node_modules folder I deleted the folder named "react-native-gesture-handler". now, npm install react-native-gesture-handler worked for me.

提交回复
热议问题