Allow @angular/core ^5.0.0 and 5.0.0-rc.* as peer dependencies of material and cdk
See original GitHub issueBug, 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:
- Created 6 years ago
- Reactions:15
- Comments:12 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There will be a release on Monday that resolves this.
@WilliamAllworth : For the warnings you can update codelyzer manually to version 4.0.1 in package.json