title: After update to Angular 8 CLI throws ".getColorDepth is not a function"
body: <p>A collegue of mine upgraded our project to angular 8. I pulled his branch and run <code>npm install</code>. On his branch everyhing works fine. I do now get the same error every time i run any "ng ..." command:</p>
  
  <pre><code>C:\xxx\party-ui\node_modules\@angular\cli\utilities\color.js:15
      process.stdout.getColorDepth() &gt; 1;
                     ^
  
      TypeError: process.stdout.getColorDepth is not a function
          at Object.&lt;anonymous&gt; (C:\xxx\party-ui\node_modules\@angular\cli\utilities\color.js:15:20)
          at Module._compile (module.js:652:30)
          at Object.Module._extensions..js (module.js:663:10)
          at Module.load (module.js:565:32)
          at tryModuleLoad (module.js:505:12)
          at Function.Module._load (module.js:497:3)
          at Module.require (module.js:596:17)
          at require (internal/module.js:11:18)
          at Object.&lt;anonymous&gt; (C:\xxx\party-ui\node_modules\@angular\cli\models\analytics.js:18:17)
          at Module._compile (module.js:652:30)
  </code></pre>
  
  <p>I also tried to update npm and node (now having versions 10.16.0 and 6.9.0).
  Also removed the node_modules folder and run npm install after that.
  What can I do?</p>