Closed faltenberg closed 2 months ago
would you plz assign this issue to me?
Should I create a new issue with same content? I see no option to modify the list of assignees or add somebody as such. Do I lack permissions?
This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.
I import the forms directly instead in typescript.
This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.
This project is dead. We need to move to alternatives.
We are sorely in need of some maintainers and contributors. Unfortunately, yWorks had to reduce their commitment to the project.
We can try pull together some resource to get things moving again.
This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.
See also Stackoverflow
I am following the official examples and documentation of jspdf (version 2.5.1).
I managed to run this snippet in Vue3 in order to generate a PDF that also includes forms that can be edited in the PDF.
I want to generate the PDF now on the server, running TypeScript in NodeJS v20.5.1. However, I receive an import error or type error when I add the perfectly running code from the Vue app. I am beyond confusion.
Perfectly running in Vue:
Same code in NodeJS:
I get this error:
However, when I print
console.log(jsPDF)
I see such a field and all the documented entities likeAcroFormTextField
.edit: accessing
jsPDF.AcroForm
,jsPDF.AcroFormTextField
orjsPDF.TextField
does result in an error as well (and so doesjsPDF.API.AcroForm
and so on).What do I miss? Why does it work with Vue and not in Node?