Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dependency issue with angular 11.2.5

See original GitHub issue

Trying 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:open
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

Yberioncommented, Apr 9, 2021

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 ?

abumuawiyahcommented, Mar 18, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found