Skip to content

Failed to Apply Patch for react-native-drawer-layout #3

@mehul-srivastava

Description

@mehul-srivastava

Hey @ItsFlash10. Installing the dependencies on my local machine (MacOS 15.0) gives me an error:

patch-package 8.0.0
Applying patches...

**ERROR** Failed to apply patch for package react-native-drawer-layout at path

    node_modules/react-native-drawer-layout

  This error was caused because react-native-drawer-layout has changed since you
  made the patch file for it. This introduced conflicts with your patch,
  just like a merge conflict in Git when separate incompatible changes are
  made to the same piece of code.

  Maybe this means your patch file is no longer necessary, in which case
  hooray! Just delete it!

  Otherwise, you need to generate a new patch file.

  To generate a new one, just repeat the steps you made to generate the first
  one.

  i.e. manually make the appropriate file changes, then run

    patch-package react-native-drawer-layout

  Info:
    Patch file: patches/react-native-drawer-layout+4.0.0-alpha.9.patch
    Patch was made for version: 4.0.0-alpha.9
    Installed version: 3.3.2

As suggested by the error, installing react-native-drawer-layout at 4.0.0-alpha.9 seems to fix the issue. Do you think it is worth updating the package.json for this

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