How to prevent yeoman from sending anonymous statistics?

百般思念 提交于 2019-12-12 11:18:02

问题


When the message came up about whether to send anonymous information, I accidentally hit the enter key defaulting to "yes". Now everytime I reinstall/fully remove then install node/yo or execute the yo command, it no longer asks. Is there some file or setting that is hidden in the filesystem that I can manually change such that I do not send anonymous usage statistics to yeoman? is there a configuration file or setting? It is unsettling to know that my usage statistics may be sent while I do not want it to...


回答1:


The optOut option is kept in insight-yo.yml, which should be in ~\.config\configstore

Just update the false value to true and you should be done.

Alternatively, if you delete that file, you'll be presented with the option again and you can answer No manually there.



来源:https://stackoverflow.com/questions/19945246/how-to-prevent-yeoman-from-sending-anonymous-statistics

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!