pdfme / pdf-lib

Create and modify PDF documents in any JavaScript environment

Home Page:https://pdf-lib.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Cannot find module 'tslib'

codati opened this issue · comments

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

  • My report includes a Short, Self Contained, Correct (Compilable) Example.
  • I have attached all PDFs, images, and other files needed to run my SSCCE.

Additional Notes

I have another error when I use pdflib here is the ticket:
Hopding#1635

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

I tried to make one

npm i tslib

I get the same error as the original pdf-lib