Skip to content

[cli][upgrade] Failed to run react-native-git-upgrade to 0.43.0-rc.4 #13171

Closed
@joonhocho

Description

@joonhocho

Description

run react-native-git-upgrade

It fails due to bunch of false positive UNMET PEER DEPENDENCY statements across many npm packages that I have installed.
All of them are false positive and can be ignored because some npm packages, for example, add peer dependency of react@^15.0.0, but still works great with react@16.0.0. So these peer dependencies can be ignored completely.
However, react-native-git-upgrade stops after these warnings at start.
Is there a way to ignore these warnings and continue?

Solution

Ignore npm warnings about peer dependencies and continue to run react-native-git-upgrade

Additional Information

  • React Native version: upgrading 0.40.0 -> 0.43.0-rc.4
  • Platform: both
  • Development Operating System: MacOS
  • Dev tools: terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions