patch-package
patch-package copied to clipboard
**ERROR** Failed to apply patch for package @enso-ui/charts at path node_modules/@enso-ui/charts
I have faced this issue while installing nuxt frontend of laravel-enso.
This error was caused because patch-package cannot apply the following patch file:
patches/@enso-ui+charts+3.0.14.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 @enso-ui/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
How can I solve this issue?
I removed node_modules and tried installing again, but it doesn't work.
If anyone met this issue before, please help me.
Many thanks.
Check if your EOL file is LF, if not change it to LF, save and apply patch
