Reputation: 62624
I am trying to follow: https://github.com/angular/material2/blob/master/GETTING_STARTED.md
Though I keep getting hung up on the initial npm install:
npm install --save @angular2-material/core @angular2-material/button @angular2-material/card
npm WARN @angular2-material/[email protected] requires a peer of @angular/core@^2.0.0-rc.5 but none was installed.
@angular2-material/[email protected] requires a peer of @angular/core@^2.0.0-rc.5 but none was installed.
How can I get around this? Nothing it getting installed...
Upvotes: 0
Views: 275
Reputation: 7621
npm WARN @angular2-material/[email protected] requires a peer of @angular/core@^2.0.0-rc.5 but none was installed. It require a higher version of angular and i thing you have something below that. upgrading to latest should resolve your problem. you can look into package.json what version you are getting with angular-cli and if it is not latest just hack it and update to latest.
Upvotes: 0