-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Cannot read property 'version' of undefined when rendering on the server #371
Milestone
Comments
benjamin-albert
changed the title
Cannot read property 'version' of undefined when rendering in the server
Cannot read property 'version' of undefined when rendering on the server
Aug 21, 2018
Is there any starter/boilerplate project where I can reproduce this? That would help a lot. |
@VadimDez Looks like ng2-pdf-viewer/src/app/pdf-viewer/pdf-viewer.component.ts Lines 11 to 23 in c49b6db
So here
PDFJS is undefined and throws an Cannot read property 'version' of undefined error.
|
Fixed in version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report or Feature Request (mark with an
x
)After updating to
5.1.1
we end up with this error in our server logs when rendering thepdf-viewer
component in the server.The text was updated successfully, but these errors were encountered: