Open byteab opened 2 years ago
This is happening due to multiple versions of react-native-gesture-handler that are installed by different dependencies. Just add react-native-gesture-handler to the resolutions section of package.json file and run yarn install again.
react-native-gesture-handler
resolutions
package.json
yarn install
"resolutions": { "react-native-gesture-handler": "~2.5.0" }
thanks for that, it works. a little bit confused about why it happened. as it seems the library is also using peerDependencies
peerDependencies
This is happening due to multiple versions of
react-native-gesture-handler
that are installed by different dependencies. Just addreact-native-gesture-handler
to theresolutions
section ofpackage.json
file and runyarn install
again.