Skip to content

Cannot run the client #64

Description

@lurongjiang

Why not unify the Angular versions? According to the documentation,then I try the command npm i ,it doesn't work.Command npm -i --force pass, but npm run start cannot run the client.

The command ouput follow below

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @angular/animations@13.3.1
npm ERR! Found: @angular/core@14.2.2
npm ERR! node_modules/@angular/core
npm ERR!   @angular/core@"14.2.2" from the root project
npm ERR!   peer @angular/core@"^13.0.0 || ^14.0.0-0" from @angular/cdk@13.3.9
npm ERR!   node_modules/@angular/cdk
npm ERR!     @angular/cdk@"13.3.9" from the root project
npm ERR!     peer @angular/cdk@"13.3.9" from @angular/material@13.3.9
npm ERR!     node_modules/@angular/material
npm ERR!       @angular/material@"13.3.9" from the root project
npm ERR!       1 more (@w3soto/ngx-mat-context-menu-trigger)
npm ERR!   8 more (@angular/elements, @angular/material, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/core@"13.3.1" from @angular/animations@13.3.1
npm ERR! node_modules/@angular/animations
npm ERR!   @angular/animations@"13.3.1" from the root project
npm ERR!   peer @angular/animations@"^13.0.0 || ^14.0.0-0" from @angular/material@13.3.9
npm ERR!   node_modules/@angular/material
npm ERR!     @angular/material@"13.3.9" from the root project
npm ERR!     1 more (@w3soto/ngx-mat-context-menu-trigger)
npm ERR!   1 more (@angular/platform-browser)
npm ERR!
npm ERR! Conflicting peer dependency: @angular/core@13.3.1
npm ERR! node_modules/@angular/core
npm ERR!   peer @angular/core@"13.3.1" from @angular/animations@13.3.1
npm ERR!   node_modules/@angular/animations
npm ERR!     @angular/animations@"13.3.1" from the root project
npm ERR!     peer @angular/animations@"^13.0.0 || ^14.0.0-0" from @angular/material@13.3.9
npm ERR!     node_modules/@angular/material
npm ERR!       @angular/material@"13.3.9" from the root project
npm ERR!       1 more (@w3soto/ngx-mat-context-menu-trigger)
npm ERR!     1 more (@angular/platform-browser)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions