Skip to content

ERROR TypeError: canvas.toBuffer is not a function #47

@yatobjection

Description

@yatobjection

Hi, i'm trying to use it on my web app. In my web browser's console, i have this message:

ERROR TypeError: canvas.toBuffer is not a function

I did install canvas with npm by following the wiki. What should i do?

ERROR TypeError: canvas.toBuffer is not a function
text2png index.js:164
exportInPng export.component.ts:132
ExportComponent_Template_button_click_63_listener export.component.html:55
Angular 10
executeListenerWithErrorHandling
wrapListenerIn_markDirtyAndPreventDefault
decoratePreventDefault
invokeTask
onInvokeTask
invokeTask
runTask
invokeTask
invokeTask
globalZoneAwareCallback

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