Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop bower from asking for statistics when installing

Tags:

bower

I'm trying to set up an automated package build for an app which uses bower. When it gets to bower install in the postinstall, bower prompts:

[?] May bower anonymously report usage statistics to improve the tool over time? (Y/n)

This is screwing up the automated scripts. I could write an expect script to deal with this but I'd rather not if I don't have to. Is there a way to get it to shut up?

like image 436
jsd Avatar asked Mar 13 '14 18:03

jsd


1 Answers

As was noted in a comment, this was raised as an issue at github. At the end of that issue there's reference to a minor note at the end of the CHANGELOG comments:

NOTE: It's advisable that users use --config.interactive=false on automated scripts.

like image 66
Christopher Currie Avatar answered Sep 17 '22 18:09

Christopher Currie