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.

Material2 Doesn't seem to work with Angular 2 RC 2

See original GitHub issue

Angular Material 2 doesn’t seems to work with RC 2.

I made changes to my packages.json and have below dependencies:

"@angular/common": "^2.0.0-rc.2",
    "@angular/compiler": "^2.0.0-rc.2",
    "@angular/core": "^2.0.0-rc.2",
    "@angular/http": "^2.0.0-rc.2",
    "@angular/platform-browser": "^2.0.0-rc.2",
    "@angular/platform-browser-dynamic": "^2.0.0-rc.2",
    "@angular/router": "^2.0.0-rc.2",

    "@angular2-material/core": "2.0.0-alpha.5",
    "@angular2-material/button": "2.0.0-alpha.5",
    "@angular2-material/card": "2.0.0-alpha.5",
    "@angular2-material/checkbox": "2.0.0-alpha.5",
    "@angular2-material/grid-list": "2.0.0-alpha.5",
    "@angular2-material/icon": "2.0.0-alpha.5",
    "@angular2-material/input": "2.0.0-alpha.5",
    "@angular2-material/list": "2.0.0-alpha.5",
    "@angular2-material/progress-bar": "2.0.0-alpha.5",
    "@angular2-material/progress-circle": "2.0.0-alpha.5",
    "@angular2-material/radio": "2.0.0-alpha.5",
    "@angular2-material/sidenav": "2.0.0-alpha.5",
    "@angular2-material/slide-toggle": "2.0.0-alpha.5",
    "@angular2-material/tabs": "2.0.0-alpha.5",
    "@angular2-material/toolbar": "2.0.0-alpha.5",

But when I try to restore packages, I receive below error:

@angular2-material/icon@2.0.0-alpha.5 requires a peer of @angular/http@2.0.0-rc.1 but none was installed

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
jelbourncommented, Jun 16, 2016

Closing this for now since people can just ignore the warnings.

1reaction
naveedahmed1commented, Jun 18, 2016

Ok, thanks Piotr, I will follow that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular 2 RC 6 Material 2 Alpha 8 Not Working - Stack Overflow
Got it Fixed! If anyone is still struggling to make Angular 2 RC 6 Material 2 Alpha 8 run in your project, the...
Read more >
Support @angular/forms · Issue #696 - GitHub
It seems that material does not work with new forms. I have used formControlName ... Material2 Doesn't seem to work with Angular 2...
Read more >
Component styles - Angular
Angular applications are styled with standard CSS. That means you can apply everything you know about CSS stylesheets, selectors, rules, and media queries ......
Read more >
Starting an Angular 2.0 project - Yakov Fain
In this blog we'll use the JIT compilation, and I'll show you how to start a new Angular 2 project (managed by npm)...
Read more >
[Solved]-Angular8 Router doesn't work for some components
Coding example for the question Angular8 Router doesn't work for some components - falls back to index-angular.js.
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