Skip to content

Which Version is compatible with Angular 17? #617

@IamVaibhavsar

Description

@IamVaibhavsar

I upgraded my angular application from12 to 17. Previously I was using "@swimlane/ngx-graph": "^8.3.0", but now it is giving dependency conflicts while doing clean install:
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @swimlane/ngx-graph@8.3.0
npm error Found: @angular/animations@17.3.12
npm error node_modules/@angular/animations
npm error @angular/animations@"^17.3.12" from the root project
npm error peer @angular/animations@"^17.0.0 || ^18.0.0" from @angular/material@17.3.10
npm error node_modules/@angular/material
npm error @angular/material@"^17.3.10" from the root project
npm error 1 more (@angular/platform-browser)
npm error
npm error Could not resolve dependency:
npm error peer @angular/animations@"10.x || 11.x || 12.x || 13.x || 14.x || 15.x || 16.x" from @swimlane/ngx-graph@8.3.0
npm error node_modules/@swimlane/ngx-graph
npm error @swimlane/ngx-graph@"^8.3.0" from the root project
npm error
npm error Conflicting peer dependency: @angular/animations@16.2.12
npm error node_modules/@angular/animations
npm error peer @angular/animations@"10.x || 11.x || 12.x || 13.x || 14.x || 15.x || 16.x" from @swimlane/ngx-graph@8.3.0
npm error node_modules/@swimlane/ngx-graph
npm error @swimlane/ngx-graph@"^8.3.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\vaibhavb6\AppData\Local\npm-cache_logs\2025-11-27T14_39_52_828Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\vaibhavb6\AppData\Local\npm-cache_logs\2025-11-27T14_39_52_828Z-debug-0.log

So, Which Version is compatible with Angular 17 to install in my application, so that my clean install using 'npm install' works?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions