Closed Menecats closed 3 years ago
I guess the peer dependency version ^8.0.1 - ^9.0.7
in 3.1.1
was illegal. It should've ben ^8.0.1 || ^9.0.7
. https://github.com/nilsmehlhorn/ngrx-wieder/blob/74a78c804ed61b16738e1babf3d52cbd90155fbc/projects/ngrx-wieder/package.json#L25
Are you sure you wouldn't rather update your Angular version and use a newer version of ngrx-wieder?
That's something that's in my road-map, but unfortunately currently I'm locked with 9.x due to rather big breaking changes in other libraries that I'm using.
And where's the problem with --legacy-peer-deps
? Can't you use that, if you're not willing to update?
That's not a problem, is just an inconvenience, mainly i'd like to avoid updating the automation scripts and teach all the other person in the team that now they have to add the flag during install.
If for you version 3.x is "unmaintained" that's not a problem, i was only asking if it's possible to update the package.json
In that case, it's unmaintaned. You may fork though or keep a local copy of the library.
Hi, while trying to install the library (version 3.1.1) into an angular 9.1.x application I'm getting this error:
This error only appears in npm 7.x (currently i'm using 7.21.0) as they've changed the peer dependency management strategy. I've installed the library with the
--legacy-peer-deps
and it works as intended. Can you please update the peer dependency for @angular/common to support also angular 9.1 directly with npm 7?Thanks