Skip to content

Dependency Issue: "Unmet peer dependency [email protected]" #483

@itinance

Description

@itinance

Version

  • react-native-router-flux v3.2.7
  • react-native v0.23.1

Expected behaviour

This command should install react-native-router-flux in current project without having trouble on dependencies:

npm i react-native-router-flux --save

Actual behaviour

This error message will be printed with unmet dependencies:

├── UNMET PEER DEPENDENCY [email protected]
└─┬ [email protected] 
  ├── [email protected] 
  └── [email protected] 

npm WARN [email protected] requires a peer of react-native@^0.22.0 but none was installed.

Steps to reproduce

  1. cd /tmp (I'm on OSX here)
  2. react-native init AwesomeProject
  3. cd AwesomeProject
  4. npm i react-native-router-flux --save

Output:

$ npm i react-native-router-flux --save
[email protected] /private/tmp/AwesomeProject
├── UNMET PEER DEPENDENCY [email protected]
└─┬ [email protected]
├── [email protected]
└── [email protected]

npm WARN [email protected] requires a peer of react-native@^0.22.0 but none was installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions