-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Warning: name token is longer than allowed by the spec: 141 #10871
Comments
Without this information the issue will be closed as INVALID, since there's unfortunately no actionable information provided here.
You need to provide the actual version number when reporting an issue, since "latest" can mean any number of things (e.g. current
Also, as can be seen in the code this isn't a breaking error but rather just a warning: Lines 1006 to 1008 in d0892e4
That was changed in PR #6193, almost four years ago, which suggests that the "PDF.js version: latest" claim above wasn't even remotely correct... |
I have the above code in my parser.js. I am getting error from pdf.worker.js. |
Did you actually read all of #10871 (comment), since it mentions that you're using a several years out-of-date version of the PDF.js library? You'll need to update to the latest version, as found at https://github.com/mozilla/pdf.js/releases, and this issue will be resolved. Keep in mind that only the latest version is officially supported. |
Closing because of the reasons above and the fact that without a PDF file it will not be possible to look into this. |
Attach (recommended) or Link to PDF file here:
Configuration:
Steps to reproduce the problem:
What is the expected behavior? (add screenshot) pdf should be rendered
What went wrong? (add screenshot)error in console and pdf not rendered properly
Error: Warning: name token is longer than allowed by the spec: 134
The text was updated successfully, but these errors were encountered: