gorhom / react-native-paper-onboarding

Paper Onboarding is a material design UI slider for `React Native`.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support react-native-gesture-handler@2

SrBrahma opened this issue · comments

commented

Feature Request

I ask you to add support for the react-native-gesture-handler@2. The current peerDep is "react-native-gesture-handler": "^1.10.3".

Why it is needed

react-native-gesture-handler@2.1.1 is the latest version, and already being used across the libs.

Error when installing this lib:

❯ npm install @gorhom/paper-onboarding
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: myapp1.0.0
npm ERR! Found: react-native-gesture-handler@2.1.1
npm ERR! node_modules/react-native-gesture-handler
npm ERR!   react-native-gesture-handler@"~2.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react-native-gesture-handler@"^1.10.3" from @gorhom/paper-onboarding@1.2.0
npm ERR! node_modules/@gorhom/paper-onboarding
npm ERR!   @gorhom/paper-onboarding@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
commented

It seem to be working with react-native-gesture-handler@2 (i have installed paper-boarding with -f flag to force install)