ds300 / ds300/patch-package

[Bug] Patch applies but Error message shows up

Open
#218 2 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

When running patch-package, all my patches applies but I get the following Error message for 1 patch :

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

node_modules/react-native-notifications

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

patches/react-native-notifications+3.1.2.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-notifications

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
```

But this patch applies. The version in package.json match and i tried removing node_modules and re-installing.

This error is not causing me any trouble, it just doesn't make sense that the patch-package tells me the patch could not apply when the patch clearly applies

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.