-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
i'm getting this below error while trying to modify pdf.
ERROR TypeError: null is not an object (evaluating '_PDFLib.default.modifyPDF')
the error is produced when i call write() as shown in the below code snippet
PDFDocument
.modify(filePath)
.modifyPage(page1)
.write() // Returns a promise that resolves with the PDF's path
.then(path => {
console.log('PDF modified at: ' + path);
});
Metadata
Metadata
Assignees
Labels
No labels