Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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: rvi@0.0.0
npm ERR! Found: @angular/common@16.0.6
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 angular-instantsearch@4.4.1
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 angular-instantsearch@4.4.1

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants