react-native-collapsible-segmented-view icon indicating copy to clipboard operation
react-native-collapsible-segmented-view copied to clipboard

I am having trouble installing this

Open siyasiyasiya opened this issue 2 years ago • 0 comments

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

npm ERR! Found: @react-native-community/[email protected]
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 [email protected]
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 avatar Mar 14 '23 11:03 siyasiyasiya