title: How to configure aws-sdk in Angular 7
body: <p>When I do</p>
  
  <pre><code>npm install  aws-sdk 
  </code></pre>
  
  <p>in Angular 7, I get an error </p>
  
  <blockquote>
    <p>Error TS2580: Cannot find name 'Buffer'. </p>
    
    <p>Do you need to install type definitions for node? Try npm i @types/node</p>
  </blockquote>
  
  <p>and even though I do run <code>install  npm i @types/node</code>, I am still getting the same error:</p>
  
  <p><a href="https://i.stack.imgur.com/TPgXI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/TPgXI.png" alt="even though i install  npm i @types/node i am getting same error"></a></p>