title: Can't resolve '@angular/material/typings/'
body: <p>I'm making tests in an angular project and I'm getting an error on those two test files:</p>
  
  <p><a href="https://pastebin.com/bttxWtQT" rel="nofollow noreferrer">https://pastebin.com/bttxWtQT</a></p>
  
  <p><a href="https://pastebin.com/7VkirsF3" rel="nofollow noreferrer">https://pastebin.com/7VkirsF3</a></p>
  
  <p>And this is the error I get when I press npm test <a href="https://pastebin.com/ncTg4WXM" rel="nofollow noreferrer">https://pastebin.com/ncTg4WXM</a></p>
  
  <p>Please give me your thoughts on this</p>
  
  <p>I've tried:</p>
  
  <pre><code>npm install --save @angular/material
  
  npm install --save @angular/cdk
  
  ng add @angular/material
  
  npm install --save @angular/typings
  
  npm install typings
  
  npm install types
  </code></pre>
  
  <p>But none works</p>
  
  <p>Excerpt of the error message:</p>
  
  <pre><code>ERROR in ./src/app/app.component.spec.ts
  Module not found: Error: Can't resolve '@angular/material/typings'     in '/home/alpha/git/epitome/src/app'
  resolve '@angular/material/typings' in     '/home/alpha/git/epitome/src/app'
    Parsed request is a module
    using description file: /home/alpha/git/epitome/package.json     (relative path: ./src/app)
      Field 'browser' doesn't contain a valid alias configuration
      resolve as module
        looking for modules in /home/alpha/git/epitome/
          using description file:     /home/alpha/git/epitome/package.json (relative path: .)
            Field 'browser' doesn't contain a valid alias     configuration
            using description file:     /home/alpha/git/epitome/package.json (relative path:     ./@angular/material/typings)
              no extension
                Field 'browser' doesn't contain a valid alias     configuration
                /home/alpha/git/epitome/@angular/material/typings     doesn't exist
              .ts
  </code></pre>