angular-cropperjs icon indicating copy to clipboard operation
angular-cropperjs copied to clipboard

Update Angular Dependencies

Open MichaelMalony opened this issue 6 years ago • 4 comments

Any chance we could get the Angular peer dependencies upped to build with Angular 5+ without npm warnings?

This is the warning I get when using Angular 5:

npm WARN [email protected] requires a peer of @angular/core@^4.0.0 but none is installed. You must install peer dependencies yourself.

Maybe something like this is dist package.json:

"peerDependencies": {
    "@angular/core": ">= 4.0.0 <= 5.x.x",
    "rxjs": "^5.1.0",
    "zone.js": "^0.8.4"
  }

MichaelMalony avatar Apr 30 '18 20:04 MichaelMalony

Any update on this?

matthewnewman43 avatar May 22 '18 19:05 matthewnewman43

Still getting the peer dependency error. In my case with both @angular/core and rxjs:

Package "angular-cropperjs" has an incompatible peer dependency to "rxjs" (requires "^5.1.0", would install "6.2.0").
Package "angular-cropperjs" has an incompatible peer dependency to "@angular/core" (requires ">=5.0.0-rc.0 <6.0.0||>=4.0.0 <5.0.0", would install "6.0.3").

jagomf avatar Jun 05 '18 16:06 jagomf

I'm not sure why there's rxjs package in dependencies at all because there's not a single import from rxjs. Also this version works okay with angular 6 even though there're warnings about unmet peer dependencies.

tplk avatar Jul 09 '18 13:07 tplk

Are you going to update to remove Angular 7 warnings?

npm WARN [email protected] requires a peer of @angular/common@^6.0.0-rc.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @angular/core@^6.0.0-rc.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.

luiscmas avatar Nov 16 '18 18:11 luiscmas

updated to v14+

matheusdavidson avatar Jun 19 '23 03:06 matheusdavidson