ng2-image-viewer icon indicating copy to clipboard operation
ng2-image-viewer copied to clipboard

Angular 9 upgrade

Open KostaProsenikov opened this issue 5 years ago • 5 comments

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?

KostaProsenikov avatar Feb 10 '20 08:02 KostaProsenikov

Hey, I have the same issue. It does not seem to be working with Angular 9.

AchillesKal avatar Feb 19 '20 09:02 AchillesKal

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.

yutamago avatar Apr 17 '20 14:04 yutamago

same here

edinantox avatar Jun 18 '20 20:06 edinantox

Same issue mentioned by @yutamago

davebaol avatar Jun 20 '20 19:06 davebaol

same

desarroyo avatar Oct 02 '20 17:10 desarroyo