ds300 / ds300/patch-package

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

Open
#401 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.2k
Forks
325
PR merge metrics
No merged PRs in 30d

Description

I upgraded my react native version from 0.66 to 0.69
first I use react-native CLI after that double-check with a manual upgrade from rn helper
I run yarn install and facing this issue

```
patch-package 6.4.7
Applying patches...
react-native-location@2.5.0 ✔

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

node_modules/react-native

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

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

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).
yarn run v1.22.17
```

I have tried remove node_modules and try again still face the issue.

platform : MAcbook Pro Big Sur 11.6

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.