Skip to content

Failed to apply patch for package react-native-ui-lib at path node_modules/react-native-ui-lib #524

Open
@nam270903

Description

@nam270903

When I try to run
npm install --force
It said that
**ERROR Failed to apply patch for package react-native-ui-lib at path

node_modules/react-native-ui-lib

This error was caused because patch-package cannot apply the following patch file:

patches/react-native-ui-lib+7.0.0.patch

Try removing node_modules and trying again. If that doesn't work, maybe there was
an accidental change made to the patch file? Try recreating it by manually
editing the appropriate files and running:

patch-package react-native-ui-lib

If that doesn't work, then it's a bug in patch-package, so please submit a bug
report. Thanks!

https://github.com/ds300/patch-package/issues**
****

I tried removing node_modules and then npm install again but that did not work.
How to fix this issue, my Curren node version is 17.0.0
This issue still happen when I use latest node version

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