Skip to content
This repository has been archived by the owner on Oct 20, 2020. It is now read-only.

Angular 9 upgrade #56

Open
KostaProsenikov opened this issue Feb 10, 2020 · 5 comments
Open

Angular 9 upgrade #56

KostaProsenikov opened this issue Feb 10, 2020 · 5 comments

Comments

@KostaProsenikov
Copy link

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?

@AchillesKal
Copy link

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

@yutamago
Copy link

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.

@edinantox
Copy link

same here

@davebaol
Copy link

Same issue mentioned by @yutamago

@desarroyo
Copy link

same

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants