Skip to content

Save error: writeFileSync is not a function #2879

@gerbenmeyer

Description

@gerbenmeyer

In the latest version of jsPDF (2.1.0), when trying to save a document, I'm getting the following error:

TypeError: r.writeFileSync is not a function
    at Object.N.save (jspdf.js:5669)

I'm importing jsPDF as import { jsPDF } from 'jspdf';, and am using jspdf client-side. Any idea on how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions