ds300 / patch-package

Fix broken node modules instantly 🏃🏽‍♀️💨
MIT License
10.31k stars 288 forks source link

Patch file parse error #385

Open manishvalere opened 2 years ago

manishvalere commented 2 years ago

diff --git a/node_modules/react-native-country-picker-modal/lib/types.js b/node_modules/react-native-country-picker-modal/lib/types.js index 4dd50e4..6d1af0c 100644 --- a/node_modules/react-native-country-picker-modal/lib/types.js +++ b/node_modules/react-native-country-picker-modal/lib/types.js @@ -1,4 +1,7 @@ export const CountryCodeList = [

manishvalere commented 2 years ago

*ERROR** Failed to apply patch for package react-native-country-picker-modal

This happened because the patch file patches/react-native-country-picker-modal+2.0.0.patch could not be parsed.

If you just upgraded patch-package, you can try running:

patch -p1 -i patches/react-native-country-picker-modal+2.0.0.patch
npx patch-package react-native-country-picker-modal

Otherwise, try manually creating the patch file again.

If the problem persists, please submit a bug report:

https://github.com/ds300/patch-package/issues/new?title=Patch+file+parse+error&body=%3CPlease+attach+the+patch+file+in+question%3E