Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dependency error to update @angular/material 11 to 12

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

danielmoncadacommented, May 6, 2022

@dpeliser-zebra you shouldn’t be using this version anymore… use my forked version:

danielmoncadacommented, Nov 16, 2022

@paritosh64ce how can I update the README file if you can’t edit or merge any PRs? I do not own this repo.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to update Angular from 10 to 11 due to dependency ...
1- go to Nodejs website and update your version to the latest LTS version. · 2- go to your OS command line and...
Read more >
Dependency error when updating from v11 to v12 using "ng ...
I'm getting an error on dependencies when updating an Angular app from v11 to v12 using ng update . Minimal Reproduction. Create a...
Read more >
Angular update fails from 11 to 12 | Infragistics Forums
we tried different approaches to update from angular 11 to 12. Unfortunately, it looks like there is an internal issue with the library....
Read more >
Guide to update your Angular application v11.0 -> v12.0 for ...
Run ng update @angular/core@12 @angular/cli@12 which should bring you to version 12 of Angular. Angular now requires TypeScript 4.2. ng update will update...
Read more >
Angular 11.2.9 -> 12 Update Error : r/Angular2 - Reddit
Angular 11.2.9 -> 12 Update Error ... Result: The installed local Angular CLI version is older than the latest stable version. Installing a ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found