You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just trying the examples here and noticed too problems:
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).
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 !
The text was updated successfully, but these errors were encountered:
I'm just trying the examples here and noticed too problems:
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).
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 !
The text was updated successfully, but these errors were encountered: