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

node_modules/@rbmweb/canvas This error was caused because patch-package cannot apply the following patch file: patches/@rbmweb+canvas+1.0.0.patch

Open WT1401 opened this issue 1 year ago • 1 comments

patch-package 8.0.0 Applying patches... [email protected][email protected][email protected][email protected][email protected]

ERROR Failed to apply patch for package @rbmweb/canvas at path

node_modules/@rbmweb/canvas

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

patches/@rbmweb+canvas+1.0.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 @rbmweb/canvas

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).

WT1401 avatar Aug 14 '24 05:08 WT1401

I see the same error when I try to patch a file that doesn't exist in the package.

juongithub avatar Nov 13 '24 16:11 juongithub