Skip to content

I am having trouble installing this #12

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

Open
siyasiyasiya opened this issue Mar 14, 2023 · 0 comments
Open

I am having trouble installing this #12

siyasiyasiya opened this issue Mar 14, 2023 · 0 comments
Labels
question Further information is requested

Comments

@siyasiyasiya
Copy link

When I run npm install react-native-collapsible-segmented-view, I am getting the following error

npm ERR! Found: @react-native-community/segmented-control@2.2.2
npm ERR! node_modules/@react-native-community/segmented-control
npm ERR!   @react-native-community/segmented-control@"^2.2.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @react-native-community/segmented-control@"~2.0.0" from react-native-collapsible-segmented-view@1.2.1
npm ERR! node_modules/react-native-collapsible-segmented-view
npm ERR!   react-native-collapsible-segmented-view@"*" 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.

How should I fix this?

@siyasiyasiya siyasiyasiya added the question Further information is requested label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant