Skip to content
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

Angular 5 #209

Closed
klihelp opened this issue Nov 13, 2017 · 8 comments
Closed

Angular 5 #209

klihelp opened this issue Nov 13, 2017 · 8 comments
Assignees
Milestone

Comments

@klihelp
Copy link

klihelp commented Nov 13, 2017

Update to Angular 5?

@xonuzofa
Copy link

Angular 5.0.0 works with version 3.0.1 of ng2-pdf-viewer. Although the new 5.0.2 Angular does not work with version 3.0.1. Get an undefined PDFJS error.

@juanlurie
Copy link

I'm getting the same "undefined PDFJS error" in angular 5

@xonuzofa
Copy link

xonuzofa commented Nov 18, 2017

I narrowed it down to this package: "@ angular/cdk": "^2.0.0-beta.8" to version 5.0.0-rc0 breaks PDFJS.

@juanlurie
Copy link

@xonuzofa have you found a way to solve this problem? I'm still having the issue.

@xonuzofa
Copy link

@juanlurie I have figured out that @ angular/cdk package is part of the @ angular/material package. I have left the @ angular/cdk and @ angular/material at 2.0.0-beta.12. I have just upgraded to angular 5.0.3 and it works fine, it is angular material that has the bug.

@robindijkhof
Copy link

Still got this problem with Angular 5.1.0 and Material 5.0.2

@xonuzofa
Copy link

"@ angular/material": "2.0.0-beta.12",
"@ angular/cdk": "2.0.0-beta.12"

Leave these two like this. Mine is running like this with 5.1.0 Angular.

@VadimDez VadimDez added this to the 4.0.0 milestone Feb 4, 2018
@VadimDez VadimDez self-assigned this Feb 4, 2018
@VadimDez
Copy link
Owner

VadimDez commented Feb 4, 2018

Version 4.0.0 supports angular 5

@VadimDez VadimDez closed this as completed Feb 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants