Dependency issue with angular 11.2.5
See original GitHub issueTrying to install with angular cli 11.2.5
npm i @kolkov/angular-editor
Getting an error as
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: project-falcon@0.0.0
npm ERR! Found: @angular/common@11.2.5
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"^11.2.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@">=8.0.0 <11" from @kolkov/angular-editor@1.1.4
npm ERR! node_modules/@kolkov/angular-editor
npm ERR! @kolkov/angular-editor@"*" 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/macbook/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/macbook/.npm/_logs/2021-03-15T05_41_58_751Z-debug.log
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Updating from 11.2.5 to 11.2.6 throws an error #20375 - GitHub
This is unfortunately an issue with npm 7 and its new peer dependency resolution process. @angular/localize@11.2.7 satisfies the SemVer range of ...
Read more >Angular update from 8 to 13 peer dependency problem
The installed Angular CLI version is outdated. Installing a temporary Angular CLI versioned 11.2.18 to perform the update. Installing packages ...
Read more >11.2.5 - @angular/cli - npm
install the v8-profiler-node8 dependency: npm install v8-profiler-node8 --no-save · set the NG_CLI_PROFILING Environment variable to the file ...
Read more >Angular versioning and releases
In minor releases, we update peer dependencies by expanding the supported versions, but we do not require projects to update these dependencies until...
Read more >How To Update Angular CLI To Latest Version
Using package manager: 'npm' Collecting installed dependencies... Found 35 dependencies. Fetching dependency metadata from registry... Updating ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, I have the same problem, @kolkov any input about that ?
Do you plan to update it for Angular 11 and 12 (and higher) or do we just have to
--force
it ?Sorry Anand, without upgrade the angular we be able to solve it by using the npm version 6. Here is the details: node - v14.15.1 npm - 6.14.8
Previously we used npm v7 and it get the same error like you have attached above.