title: installing angular material throws an error
body: <p>after installing angular-material with this command</p>
  
  <pre><code> npm install --save @angular/material @angular/animations @angular/cdk
  </code></pre>
  
  <p>I'm getting this error when i'm trying to run ng serve. 
  it really weird because some days ago i did the same installation in other project and it works fine.
  I'm trying for some hours to solve this issue but nothing really helpful.
  I tried to remove the node modules and install again..</p>
  
  <pre><code>ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/radio/radio.d.ts (134,44): Type '(new (...args: any[]) =&gt; CanColor) &amp; (new (...args: a
  ny[]) =&gt; CanDisableRipple) &amp; typeof MdRadioB...' is not a constructor function type.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/select/select.d.ts (8,76): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/
  colorsNotes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/select/select.d.ts (8,114): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass
  /colorsNotes/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/select/select.d.ts (28,41): Initializers are not allowed in ambient contexts.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/select/select.d.ts (30,46): Initializers are not allowed in ambient contexts.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/select/select.d.ts (34,44): Initializers are not allowed in ambient contexts.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/select/select.d.ts (41,45): Initializers are not allowed in ambient contexts.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/select/select.d.ts (58,45): Initializers are not allowed in ambient contexts.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/select/select.d.ts (63,52): Initializers are not allowed in ambient contexts.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/select/select.d.ts (87,22): Class 'MdSelect' incorrectly implements interface 'CanColo
  r'.
    Property 'color' is missing in type 'MdSelect'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/select/select.d.ts (87,22): Class 'MdSelect' incorrectly implements interface 'CanDisa
  ble'.
    Property 'disabled' is missing in type 'MdSelect'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/select/select.d.ts (87,39): Type '(new (...args: any[]) =&gt; CanColor) &amp; (new (...args:
  any[]) =&gt; CanDisable) &amp; typeof MdSelectBase' is not a constructor function type.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/sidenav/sidenav.d.ts (8,65): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClas
  s/colorsNotes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/slider/slider.d.ts (8,47): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/
  colorsNotes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/slider/slider.d.ts (34,22): Class 'MdSlider' incorrectly implements interface 'CanDisa
  ble'.
    Property 'disabled' is missing in type 'MdSlider'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/slider/slider.d.ts (34,39): Type '(new (...args: any[]) =&gt; CanDisable) &amp; typeof MdSlid
  erBase' is not a constructor function type.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/slide-toggle/slide-toggle.d.ts (8,84): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/A
  ngularClass/colorsNotes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/slide-toggle/slide-toggle.d.ts (28,22): Class 'MdSlideToggle' incorrectly implements i
  nterface 'CanColor'.
    Property 'color' is missing in type 'MdSlideToggle'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/slide-toggle/slide-toggle.d.ts (28,22): Class 'MdSlideToggle' incorrectly implements i
  nterface 'CanDisable'.
    Property 'disabled' is missing in type 'MdSlideToggle'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/slide-toggle/slide-toggle.d.ts (28,22): Class 'MdSlideToggle' incorrectly implements i
  nterface 'CanDisableRipple'.
    Property 'disableRipple' is missing in type 'MdSlideToggle'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/slide-toggle/slide-toggle.d.ts (28,44): Type '(new (...args: any[]) =&gt; CanColor) &amp; (ne
  w (...args: any[]) =&gt; CanDisableRipple) &amp; (new (...args: ...' is not a constructor function type.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/snack-bar/snack-bar-config.d.ts (8,28): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/
  AngularClass/colorsNotes/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/snack-bar/snack-bar-container.d.ts (8,43): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular
   4/AngularClass/colorsNotes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/snack-bar/snack-bar-container.d.ts (14,37): Initializers are not allowed in ambient co
  ntexts.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/snack-bar/snack-bar-container.d.ts (15,37): Initializers are not allowed in ambient co
  ntexts.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/cdk/table/typings/cell.d.ts (8,22): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNo
  tes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/cdk/table/typings/row.d.ts (28,31): Type 'IterableDiffer' is not generic.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/cdk/table/typings/table.d.ts (8,69): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsN
  otes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/cdk/table/typings/table.d.ts (8,80): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsN
  otes/node_modules/@angular/core/index"' has no exported member 'TrackByFunction'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/table/cell.d.ts (8,22): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/col
  orsNotes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab.d.ts (17,22): Class 'MdTab' incorrectly implements interface 'CanDisable'.
    Property 'disabled' is missing in type 'MdTab'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab.d.ts (17,36): Type '(new (...args: any[]) =&gt; CanDisable) &amp; typeof MdTabBase'
  is not a constructor function type.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-group.d.ts (8,47): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass
  /colorsNotes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-group.d.ts (32,22): Class 'MdTabGroup' incorrectly implements interface 'CanC
  olor'.
    Property 'color' is missing in type 'MdTabGroup'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-group.d.ts (32,22): Class 'MdTabGroup' incorrectly implements interface 'CanD
  isableRipple'.
    Property 'disableRipple' is missing in type 'MdTabGroup'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-group.d.ts (32,41): Type '(new (...args: any[]) =&gt; CanColor) &amp; (new (...args:
   any[]) =&gt; CanDisableRipple) &amp; typeof MdTabGro...' is not a constructor function type.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/ink-bar.d.ts (8,10): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/c
  olorsNotes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-label-wrapper.d.ts (18,22): Class 'MdTabLabelWrapper' incorrectly implements
  interface 'CanDisable'.
    Property 'disabled' is missing in type 'MdTabLabelWrapper'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-label-wrapper.d.ts (18,48): Type '(new (...args: any[]) =&gt; CanDisable) &amp; type
  of MdTabLabelWrapperBase' is not a constructor function type.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-header.d.ts (8,105): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularCla
  ss/colorsNotes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-header.d.ts (30,22): Class 'MdTabHeader' incorrectly implements interface 'Ca
  nDisableRipple'.
    Property 'disableRipple' is missing in type 'MdTabHeader'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-header.d.ts (30,42): Type '(new (...args: any[]) =&gt; CanDisableRipple) &amp; typeo
  f MdTabHeaderBase' is not a constructor function type.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-nav-bar/tab-nav-bar.d.ts (8,59): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular
  4/AngularClass/colorsNotes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-nav-bar/tab-nav-bar.d.ts (25,22): Class 'MdTabNav' incorrectly implements int
  erface 'CanColor'.
    Property 'color' is missing in type 'MdTabNav'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-nav-bar/tab-nav-bar.d.ts (25,39): Type '(new (...args: any[]) =&gt; CanColor) &amp;
  typeof MdTabNavBase' is not a constructor function type.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-nav-bar/tab-nav-bar.d.ts (55,22): Class 'MdTabLink' incorrectly implements in
  terface 'CanDisable'.
    Property 'disabled' is missing in type 'MdTabLink'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tabs/tab-nav-bar/tab-nav-bar.d.ts (55,40): Type '(new (...args: any[]) =&gt; CanDisable)
  &amp; typeof MdTabLinkBase' is not a constructor function type.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/toolbar/toolbar.d.ts (8,22): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClas
  s/colorsNotes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/toolbar/toolbar.d.ts (19,22): Class 'MdToolbar' incorrectly implements interface 'CanC
  olor'.
    Property 'color' is missing in type 'MdToolbar'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/toolbar/toolbar.d.ts (19,40): Type '(new (...args: any[]) =&gt; CanColor) &amp; typeof MdTool
  barBase' is not a constructor function type.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tooltip/tooltip.d.ts (8,59): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClas
  s/colorsNotes/node_modules/@angular/core/index"' has no exported member 'Renderer2'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tooltip/tooltip.d.ts (8,89): Module '"E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClas
  s/colorsNotes/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tooltip/tooltip.d.ts (17,42): Initializers are not allowed in ambient contexts.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tooltip/tooltip.d.ts (19,41): Initializers are not allowed in ambient contexts.
  
  ERROR in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/tooltip/tooltip.d.ts (21,42): Initializers are not allowed in ambient contexts.
  
  ERROR in Error encountered resolving symbol values statically. Calling function 'InjectionToken', function calls are not supported. Consider replacing the function or lambda with a reference to an
   exported function, resolving symbol MD_AUTOCOMPLETE_SCROLL_STRATEGY in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/index.d.ts, resolving s
  ymbol MD_AUTOCOMPLETE_SCROLL_STRATEGY_PROVIDER in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/index.d.ts, resolving symbol MdAutocompleteMo
  dule in E:/פרוייקטים/פרוייקטים קיץ/Angular 4/AngularClass/colorsNotes/node_modules/@angular/material/typings/index.d.ts, resolving symbol MdAutocompleteModule in E:/פרוייקטים/פרוייקטים קיץ/Angular
   4/AngularClass/colorsNotes/node_modules/@angular/material/typings/index.d.ts
  </code></pre>
  
  <p>I'm trying also to import browserAnimationsModule but it shows me error in the path</p>
  
  <pre><code>import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
  </code></pre>