Skip to content

Fails to load PDF when pdfjs-dist version 4.6.82 is installed #142

Description

@samiashi

When using the @tato30/vue-pdf package with pdfjs-dist version 4.6.82, the PDF fails to load properly. This issue occurs when performing a clean install of dependencies, which results in pdfjs-dist version 4.6.82 being installed due to the version range specified in @tato30/vue-pdf’s package.json. Downgrading to pdfjs-dist version 4.5.136 resolves the issue.

This issue seems to be related to changes introduced in pdfjs-dist 4.6.82.

I recommend that the package pin the pdfjs-dist version instead of using a version range to prevent similar issues in the future.

"pdfjs-dist": "^4.5.136"

Additional context

  • vue-pdf: 1.11.0
  • vue: 3.4.38

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions