installation of 4.0.2 failed
julianpoemp opened this issue · 1 comments
julianpoemp commented
Problem:
npm install --save ngrx-wieder@latest
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: octra@1.5.0
npm ERR! Found: @angular/common@11.0.4
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"11.0.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^10.0.0" from ngrx-wieder@4.0.2
npm ERR! node_modules/ngrx-wieder
npm ERR! ngrx-wieder@"4.0.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/julian/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/julian/.npm/_logs/2021-02-16T11_29_57_157Z-debug.log
Comment
I'm already using Angular 11, but since ngrx-wieder@4.0.1 worked with Angular 11, I thorught 4.0.2 would work, too.
julianpoemp commented
After I had tried to update Angular via ng update
the following message appeared:
npm version 7.5.4 detected. The Angular CLI temporarily requires npm version 6 while upstream issues are addressed.
I downgraded to npm v6 via npm install --global npm@6
and thought that this could help to install ngrx-wieder@4.0.2. It worked!