ds300 / ds300/patch-package

Failed to apply patch for package react-native-agora

Open
#504 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.2k
Forks
325
PR merge metrics
No merged PRs in 30d

Description

Im using react-native-agora@4.2.0 and because of some issue in in agora i used patch-package@8.0.0

so i'm getting this issue only with '**yarn**' not with the **npm** another solution with for this issue is to deprecate the patch-package to 7.0.2

the point where this error occurs is that when i try to install a new library in my project then this error appears and delete all my changes for the node-modules

hope you guy'z resolved this with new version '8.0.0'

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

node_modules/react-native-agora

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

patches/react-native-agora+4.2.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-agora

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

---
patch-package finished with 1 error(s).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.