wojtekmaj / react-pdf

Display PDFs in your React app as easily as if they were images.
https://projects.wojtekmaj.pl/react-pdf
MIT License
9.56k stars 897 forks source link

checkLastPage - invalid /Pages tree /Count: 2. #1852

Closed deeptha6 closed 3 days ago

deeptha6 commented 3 months ago

Before you start - checklist

Description

On PDF Viewer using react-pdf, shows "Failed to load the page".

Warning: Indexing all PDF objects pdf.worker.min.js:22 Warning: checkLastPage - invalid /Pages tree /Count: 2.

Steps to reproduce

Passed base64encoded file string to Document element

Expected behavior

able to view the pdf document using react-pdf.

Actual behavior

Says Failed to load the page with warnings.

Additional information

able to view the pdf document in acrobat reader

Environment

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

github-actions[bot] commented 3 days ago

This issue was closed because it has been stalled for 14 days with no activity.