Skip to content

Examples broken with last nodeJS canvas versions #46

@adadgio

Description

@adadgio

I'm just trying the examples here and noticed too problems:

  1. node canvas is not listed as a dependency in the project, i am not sure it should be but it seemed to me that it should (seeing the examples and how the library works).

  2. With latest canvas version (ex. 2.2.0 and above), new Canvas(...blah) is not a constructor and should be used this way: const canvas = Canvas.createCanvas(...blah). Maybe the examples should be updated.

Cheers !

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