-
-
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
Angular 19 Compatibility issue #1166
Comments
it seems to be angular-cli fault: angular/angular-cli#29077 |
@rcrafael A workaround is to add the packages to the externalDependencies array in the build options, e.g.: |
I think this can be closed, the angular change above was merged and will presumably be released soon. The above only happens in certain situations I believe anyway. Compatibility between Angular 18 and v10.4 of this package is covered in a separate issue already. |
i have tried this workaround but i got different error after serving the application. |
for the time being you can downgrade the |
actually, i ended up downgrading to angular 18, i will wait for the version 19 to be stable. thank for the response |
After upgrading from Angular 18 to 19, I got issue in the ng2-pdf-viewer dependency PDFJS-DIST.
I already tried removing the caret(^) and downgrading this ng2-pdf-viewer from 10.4.0 to 10.2.2 (which is working in angular 18 previously) but still got the same error from the pdfjs-dist after serving the angular app.
anyone run into the same issue? or someone know the fix for this?
The text was updated successfully, but these errors were encountered: