Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
@shahajiwissen

Description

patch-package is failing to apply patch to @rbmweb/canvas:1.0.0

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

@rbmweb+canvas+1.0.0.patch

I am trying to update the file: node_modules/@rbmweb/canvas/android/src/main/java/com/wwimmo/imageeditor/utils/entities/MotionEntity.java
Line no.: 78 and 79
Changes:
78: this.canvasWidth = canvasWidth; ---> this.canvasWidth = Math.max(1, canvasWidth);
79: this.canvasHeight = canvasHeight; ---> this.canvasHeight = Math.max(1, canvasHeight);

@rbmweb+canvas+1.0.0.patch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /