Skip to content

Incompatible with Angular 21.x #43

@piotrbaczek

Description

@piotrbaczek

While installing your lib on Angular@21 I get errors:

npm error While resolving: @perfectmemory/ngx-contextmenu@20.0.0 npm error Found: @angular/cdk@21.0.2 npm error node_modules/@angular/cdk npm error @angular/cdk@"^21.0.2" from the root project npm error npm error Could not resolve dependency: npm error peer @angular/cdk@"^20.0.3" from @perfectmemory/ngx-contextmenu@20.0.0 npm error node_modules/@perfectmemory/ngx-contextmenu npm error @perfectmemory/ngx-contextmenu@"^20.0.0" from the root project npm error npm error Conflicting peer dependency: @angular/cdk@20.2.14 npm error node_modules/@angular/cdk npm error peer @angular/cdk@"^20.0.3" from @perfectmemory/ngx-contextmenu@20.0.0 npm error node_modules/@perfectmemory/ngx-contextmenu npm error @perfectmemory/ngx-contextmenu@"^20.0.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.

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