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.

Allow @angular/core ^5.0.0 and 5.0.0-rc.* as peer dependencies of material and cdk

See original GitHub issue

Bug, feature request, or proposal:

We know that the latest versions of material and cdk are compatible with the latest @next version of Angular because that’s what we use at Google. We should therefore configure the peer dependencies of the npm packages to support both the @lastest as well as @next version.

What is the expected behavior?

No installation warnings from npm/yarn

What is the current behavior?

warning "@angular/cdk@2.0.0-beta.12" has incorrect peer dependency "@angular/core@~4.4.4".
warning "@angular/cdk@2.0.0-beta.12" has incorrect peer dependency "@angular/common@~4.4.4".
warning "@angular/material@2.0.0-beta.12" has incorrect peer dependency "@angular/core@~4.4.4".
warning "@angular/material@2.0.0-beta.12" has incorrect peer dependency "@angular/common@~4.4.4".

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:15
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

8reactions
jelbourncommented, Nov 3, 2017

There will be a release on Monday that resolves this.

6reactions
tgambetcommented, Nov 8, 2017

@WilliamAllworth : For the warnings you can update codelyzer manually to version 4.0.1 in package.json

Read more comments on GitHub >

github_iconTop Results From Across the Web

ng upgrade: incompatible peer dependency error prevents ...
Package "@angular/cdk" has an incompatible peer dependency to "@angular/common" (requires ">=5.0.0-rc.0 <6.0.0||>=4.0.0 <5.0.0", would install " ...
Read more >
npm WARN ... requires a peer of ... but none is installed. You ...
npm WARN @angular/cdk@2.0.0-beta.10 requires a peer of @angular/core@^4.3.0 but none is installed. You must install peer dependencies yourself.
Read more >
@angular/material versions and peer dependencies
Online Peer dependency version tool to search for compatible versions of related NPM packages.
Read more >
Update to Angular 11 Version - Angular Wiki
0 but none is installed. You must install peer dependencies yourself. npm WARN codelyzer@5.2.2 requires a peer of @angular/core@>=2.3 ...
Read more >
Teradata/covalent - Gitter
npm WARN @covalent/core@1.0.0-rc.0 requires a peer of @angular/material@^5.0.0-rc0. Is it possible to use material-moment-adapter with covalent now?
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