As mentioned in the question's title I can't enable material design although I'be followed the official documentation.
I did the following steps:
npm install --save @angular/material
npm install --save @angular/animations
and this is my package.json file:
"dependencies": {
"@angular/animations": "^4.2.5",
"@angular/cdk": "github:angular/cdk-builds",
"@angular/common": "^2.4.0",
"@angular/compiler": "^2.4.0",
"@angular/core": "^2.4.0",
"@angular/forms": "^2.4.0",
"@angular/http": "^2.4.0",
"@angular/material": "github:angular/material2-builds",
"@angular/platform-browser": "^2.4.0",
"@angular/platform-browser-dynamic": "^2.4.0",
"@angular/router": "^3.4.0",
"core-js": "^2.4.1",
"hammerjs": "^2.0.8",
"rxjs": "^5.1.0",
"zone.js": "^0.7.6"
},
So everything is perfectly installed but right now I'm facing two problems:
The first one is that the compiler can't find the animations module when I try to import BrowserAnimationsModule:
The second problem is that when I import material modules in NgModule like this:
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule,
MdButtonModule,
MdMenuModule,
MdCardModule,
MdToolbarModule,
MdIconModule
],
providers: [
],
bootstrap: [AppComponent]
})
export class AppModule { }
I get this error in the console, and a bunch of warning messages:

What am I missing here ?
@angulardependencies with mixed versions (4.2.5, 2.4.0), which are thus not compatible with each other. Use the latest stable version of angular, and use the same version for all the@angulardependencies.