patch-package icon indicating copy to clipboard operation
patch-package copied to clipboard

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

Open jamalannebaby opened this issue 3 years ago • 2 comments

This error was caused because patch-package cannot apply the following patch file: patches/react-native+0.67.1.patch.

I tried removing node modules and again. but it doesn't work.

I hope to resolve it. Thank you.

jamalannebaby avatar Jan 29 '22 04:01 jamalannebaby

+1 (on react-native 0.61.5)

Also tried erasing and reinstalling. It's also failing on our CI which does a fresh install everytime.

Air-Craft avatar Apr 26 '22 14:04 Air-Craft

Nevermind. It turns out mine was due to some manual patching that was included in the NPM hooks.

Air-Craft avatar Apr 28 '22 10:04 Air-Craft