Skip to content

Dependency error to update @angular/material 11 to 12 #760

Open
@dpeliser-zebra

Description

@dpeliser-zebra

I am migration my project from Angular 11 to 12, and when I tried to update the @angular/material@12 I had an error with ng-pick-datetime:

$ ng update @angular/material@12

Using package manager: 'npm'
Collecting installed dependencies...
Found 51 dependencies.
Fetching dependency metadata from registry...
                  Package "ng-pick-datetime" has an incompatible peer dependency to "@angular/cdk" (requires "^7.0.0", would install "12.2.13").
✖ Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
  See "/tmp/ng-3v8GXt/angular-errors.log" for further details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions