pdfme / pdf-lib

Create and modify PDF documents in any JavaScript environment
https://pdf-lib.js.org
MIT License
12 stars 4 forks source link

Error: Cannot find module 'tslib' #4

Open codati opened 2 months ago

codati commented 2 months ago

What were you trying to do?

list the fields of a pdf

How did you attempt to do it?

getFrom and getFields

What actually happened?

throw error Error: Cannot find module 'tslib'

What did you expect to happen?

list the fields of a pdf

How can we reproduce the issue?

npm i
node index.js

pdf-bug.zip

Version

1.18.3

What environment are you running pdf-lib in?

Node

Checklist

Additional Notes

I have another error when I use pdflib here is the ticket: https://github.com/Hopding/pdf-lib/issues/1635

thank you for creating this fork, it prevents this lib from dying

codati commented 2 months ago

I tried to make one

npm i tslib

I get the same error as the original pdf-lib