Skip to content

I am having trouble installing this Β #12

@siyasiyasiya

Description

@siyasiyasiya

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions