title: CircleCI build failed due to Google anonymous usage data question
body: <p>While CircleCI build, in the processes of executing <code>sudo npm install -g @angular/cli</code> Google asked to share anonymous data usage yes/no question. How can I avoid prompt of that question in CircleCI ?</p>
  <p>Image of docker is <code>circleci/node:8</code>
  Command <code>run: sudo npm install -g @angular/cli</code></p>
  <p>Error message:</p>
  <blockquote>
  <p>#!/bin/bash -eo pipefail</p>
  <p>sudo npm install -g @angular/cli</p>
  <p>/usr/local/bin/ng -&gt; /usr/local/lib/node_modules/@angular/cli/bin/ng @angular/cli@8.0.1 postinstall /usr/local/lib/node_modules/@angular/cli
  node ./bin/postinstall/script.js
  ? Would you like to share anonymous usage data with the Angular Team at Google under Google’s Privacy Policy at <a href="https://policies.google.com/privacy" rel="nofollow noreferrer">https://policies.google.com/privacy</a>? For more details and how to change this setting, see <a href="http://angular.io/analytics" rel="nofollow noreferrer">http://angular.io/analytics</a>. (y/N) ?</p>
  <p>Would you like to share anonymous usage data with the Angular Team at Google under Google’s Privacy Policy at <a href="https://policies.google.com/privacy" rel="nofollow noreferrer">https://policies.google.com/privacy</a>? For more details and how to change this setting, see <a href="http://angular.io/analytics" rel="nofollow noreferrer">http://angular.io/analytics</a>. (y/N) ?</p>
  <p>Would you like to share anonymous usage data with the Angular Team at Google under Google’s Privacy Policy at <a href="https://policies.google.com/privacy" rel="nofollow noreferrer">https://policies.google.com/privacy</a>? For more details and how to change this setting, see <a href="http://angular.io/analytics" rel="nofollow noreferrer">http://angular.io/analytics</a>. (y/N) Too long with no output (exceeded 10m0s)</p>
  </blockquote>
  <p>This question is about CircleCI build and <a href="https://stackoverflow.com/questions/56363203/travis-build-is-hanging-waiting-for-user-input-to-install-angular">this</a> is not a solution for me. I can't get this solution implemented in CircleCI.</p>