ng2-image-viewer
ng2-image-viewer copied to clipboard
Angular 9 upgrade
Hi,
Upon upgrading to Angular 9 we receive the following errors: Package "ng2-image-viewer" has an incompatible peer dependency to "@angular/core" (requires "^7.0.0" (extended), would install "9.0.0"). Package "ng2-image-viewer" has an incompatible peer dependency to "zone.js" (requires "^0.8.4", would install "0.10.2"). Package "ng2-image-viewer" has an incompatible peer dependency to "rxjs" (requires "^5.1.0", would install "6.5.4").
Do you plan to add support for Angular 9?
Hey, I have the same issue. It does not seem to be working with Angular 9.
I'm getting this error on ng serve
:
ERROR in node_modules/ng2-image-viewer/index.d.ts:3:22 - error NG6003: Appears in the NgModule.exports of SharedModule, but could not be resolved to an NgModule, Component, Directive, or Pipe class.
This likely means that the library (ng2-image-viewer) which declares ImageViewerModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
same here
Same issue mentioned by @yutamago
same