Skip to content
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

Update Angular Dependencies #18

Closed
MichaelMalony opened this issue Apr 30, 2018 · 5 comments
Closed

Update Angular Dependencies #18

MichaelMalony opened this issue Apr 30, 2018 · 5 comments

Comments

@MichaelMalony
Copy link

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 angular-cropperjs@0.1.5 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"
  }
@matthewnewman43
Copy link

Any update on this?

@jagomf
Copy link

jagomf commented Jun 5, 2018

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").

@tplk
Copy link

tplk commented Jul 9, 2018

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.

@luiscmas
Copy link

Are you going to update to remove Angular 7 warnings?

npm WARN angular-cropperjs@1.0.1 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 angular-cropperjs@1.0.1 requires a peer of @angular/core@^6.0.0-rc.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.

@matheusdavidson
Copy link
Owner

matheusdavidson commented Jun 19, 2023

updated to v14+

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

No branches or pull requests

6 participants