title: DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), ... methods instead
body: <p>I have an angular project and recently I have added angular-universal to it using the following command: </p>
  
  <pre><code>ng add @nguniversal/express-engine --clientProject {{ name of your project }}
  </code></pre>
  
  <p>building and running it:</p>
  
  <pre><code>npm run build:ssr &amp;&amp; npm run serve:ssr
  </code></pre>
  
  <p>Ive got many errors after doing so but I managed to get it to work, but when I access my home page its writing the following to the console:</p>
  
  <pre><code>(node:44714) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
  ERROR [Error]
  ERROR [Error]
  </code></pre>
  
  <p>and each time I refresh the page it print <code>ERROR [Error]</code> again without any details, please note that I don't have any <code>new Buffer()</code> in my code, and I have followed the suggestions on stack overflow to solve this but no luck, can someone help to figure out what's causing this?</p>
  
  <hr>
  
  <p>I have solved the <code>ERROR [Error]</code> by removing the TranslateService, but still having the deprecationWarning</p>