Bug #47572
Updated by Lenz Grimmer over 3 years ago
This was reported via IRC:
In a fresh development environment, e.g. inside a container, the dashboard build process stops with the following output:
<pre>
> @angular/cli@10.0.5 postinstall /home/brad/working/src/ceph-fedora-32-brad/src/pybind/mgr/dashboard/frontend/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 https://policies.google.com/privacy? For more details and
how to change this setting, see http://angular.io/analytics. No
</pre>
According to the "developer documentation":https://github.com/angular/angular-cli/blob/master/docs/design/analytics.md#disabling-usage-analytics there are several ways to suppress this message:
Setting an environment variable: @export NG_CLI_ANALYTICS=ci@
Disabling analytics via a command: @ng analytics off@
Adding a property to @angular.json@:
<pre>
"cli": {
"analytics": false
}
</pre>