Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

NPM ERR! ERESOLVE unable to resolve dependency tree #1005

Open
syah284 opened this issue Oct 16, 2023 · 1 comment
Open

NPM ERR! ERESOLVE unable to resolve dependency tree #1005

syah284 opened this issue Oct 16, 2023 · 1 comment

Comments

@syah284
Copy link

syah284 commented Oct 16, 2023

Describe the bug 🐛

I encountered an npm error with the following message:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"~16.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@">=5.0.0 <16.0.0" from [email protected]
npm ERR! node_modules/angular-instantsearch
npm ERR!   angular-instantsearch@"*" 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/syahiruddin/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/syahiruddin/.npm/_logs/2023-10-16T01_17_23_589Z-debug-0.log

To Reproduce 🔍

Steps to reproduce the behavior:

  1. Run npm install or a similar npm command in the project.
  2. Observe the npm error message.

Expected behavior 💭

I expect the npm dependencies to be resolved without any errors. Instead, I encountered an npm ERR! ERESOLVE error, which prevented successful dependency resolution.

Screenshots 🖥

image

Environment:

  • Node.js version: v16.14.0
  • NPM Version: 8.3.1

Additional context
N/A

@xXCalleManXx
Copy link

npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@">=5.0.0 <16.0.0" from [email protected]

This error means that this package only support angular major version 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 and 15. So Angular 16 and 17 is not yet supported.

Se this thread for more information: #994

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

No branches or pull requests

2 participants