Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

Error: Cannot find module 'tslib' #4

Description

@codati

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions