Skip to content

peerDependencies causing package management errors for more recent versions on react-native #15

@nickcarenza

Description

@nickcarenza

Error as reported by yarn

yarn check v1.3.2
error "react-native-custom-keyboard#react-native@^0.29.0" doesn't satisfy found match of "react-native@0.50.3"

Error as reported by npm

npm ls
npm ERR! peer dep missing: react-native@^0.29.0, required by react-native-custom-keyboard@1.0.4
  "peerDependencies": {
    "react-native": "^0.29.0"
  }

Unfortunately it seems that the caret doesn't work as one might expect with 0.X.X packages.
As it stands, this package declares it only works with the following react-native versions:

  • 0.29.0
  • 0.29.1
  • 0.29.2

Mind updating to more accurately reflect which versions of react-native this plugin will work with?

If you want to keep it pre 1.0: >=0.29.0 <1.0

node-semver docs on usage of caret with pre-1.0 packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions