question-mark
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.

Update to Angular Material 10

See original GitHub issue

Hi, Angular 10 including Material 10 has been released for a few days.

when running ng update @angular/material you will get the following:

Package "@mat-datetimepicker/core" has an incompatible peer dependency to "@angular/material" (requires "~9.2.1", would install "10.0.1").
Package "@mat-datetimepicker/core" has an incompatible peer dependency to "@angular/cdk" (requires "~9.2.1", would install "10.0.1").
Package "@mat-datetimepicker/moment" has an incompatible peer dependency to "@angular/material-moment-adapter" (requires "~9.2.1", would install "10.0.1").

Would be great if there was a release supporting the new material version 🙂

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jjtortosacommented, Jul 21, 2020

You can use --force: ng update @angular/material --force It worked for me

0reactions
bborttcommented, Aug 2, 2020

it’s released in 5.0.0 and a minor README.md bugfix in 5.0.1. thanks a lot @SamuelMarks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to update angular material - Stack Overflow
You'll want to use the npm update command. An example would look like this. npm update @angular/material @angular/cdk.
Read more >
@angular/material - npm
Angular Material. Latest version: 15.0.3, last published: 13 days ago. Start using @angular/material in your project by running `npm i ...
Read more >
Angular 10 to 11 update guide
Guide to update your Angular application v10.0 -> v11.0 for basic applications. Before you update. You don't need to do anything before moving...
Read more >
How To Update Angular CLI To Latest Version
To update Angular CLI to latest version Angular, use ng update @angular/core @angular/cli@latest command.
Read more >
Angular Version Upgrade: A quick guide to upgrade from 9.0 ...
Upgrade from Version9.0 to Versio10.0 · Updating package. · Executing migrations of package '@angular/cli' · Update Browserslist configuration file ...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found