Open shahbaazdev opened 1 year ago
Hi @shahbaaz207 , Did you find any solution for this? Still have the same issue.
Still same issue
On Sat, 28 Jan, 2023, 23:47 MursiDirect, @.***> wrote:
Hi @shahbaaz207 https://github.com/shahbaaz207 , Did you find any solution for this? Still have the same issue.
— Reply to this email directly, view it on GitHub https://github.com/ds300/patch-package/issues/448#issuecomment-1407456284, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6X7W5BDBXRXJPF74FS6PLWUVPE5ANCNFSM6AAAAAAUAAHUJU . You are receiving this because you were mentioned.Message ID: @.***>
--
www.iilmcet.ac.in http://iilmcet.ac.in/ | Watch to Experience IILM https://www.youtube.com/watch?v=OQ5Jgx3-qLk
https://www.facebook.com/iilmcet.grnoida
https://twitter.com/IilmEngineering
Well, for me I have fixed the issue, simply the error message was saying that the package which you are trying to make a patch for, has a new version, and the patch has a conflict with the new update, so the solution is to take a backup of the patch file, then remove it from the app, then update the package manually to the latest version and check if the error is gone. if not, check if the maintainers of the package had already done the edit you made the patch for or not, if they added it so the patch file is useless, if not, put it again. then clear the app cache, and I hope it works for you as it did with me @shahbaaz207
@shahbaaz207 did you managed to fix it? I have **ERROR** Failed to apply patch for package react-native-gifted-charts
Basically same error.
Previously i found out that this appears when you make the patch twice (patching 2x into same file).
But now i made just one change and it fails
Unfortunatelly there is no detail in the error message:
**ERROR** Failed to apply patch for package react-native-gifted-charts at path
node_modules/react-native-gifted-charts
This error was caused because patch-package cannot apply the following patch file:
patches/react-native-gifted-charts+1.2.42.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-gifted-charts
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
@radekzz did you manage to fix it? I have the exact same issue with the same package (react-native-gifted-charts)..
@elinljunggren i found out that this happens to me when I patch multiple times. Solution was to apply patch only once
@radekzz ah okay, thanks! Will have to look into what I can do about that then..
@shahbaazdev ,
Error: Patch file found for package gifted-charts-core which is not present at node_modules/gifted-charts-core Error: Patch file found for package react-native-gifted-charts which is not present at node_modules/react-native-gifted-charts
This error was caused because patch-package cannot apply the following patch file:
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:
I have tried so many times but It doesn't work I Have tried with yarn