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

Support react-native-gesture-handler@2 #37

Open
SrBrahma opened this issue Feb 5, 2022 · 1 comment
Open

Support react-native-gesture-handler@2 #37

SrBrahma opened this issue Feb 5, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@SrBrahma
Copy link

SrBrahma commented Feb 5, 2022

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.
@SrBrahma SrBrahma added the enhancement New feature or request label Feb 5, 2022
@SrBrahma
Copy link
Author

SrBrahma commented Feb 5, 2022

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

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

No branches or pull requests

1 participant