[
https://issues.apache.org/jira/browse/CB-11276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15285191#comment-15285191
]
Omar Mefire commented on CB-11276:
----------------------------------
The issue is due to a bug in insight:
https://github.com/yeoman/insight/blob/cd02a9c7df328ee5adc9ec0725d4b48a97cc9686/lib/index.js#L133
Insight is bugging because of: https://github.com/nodejs/node/issues/3006
The gist of the issue is that the process is not recognized to be running as
TTY, which leads to insight ending the process and opting out:
Furthermore, commenting the TTY related code out from insight, leads to yet
another error: https://github.com/SBoudrias/Inquirer.js/issues/290
Insight, which we depend on doesn't play well with git-bash/MinGW.
> Telemetry opting me out without prompts
> ---------------------------------------
>
> Key: CB-11276
> URL: https://issues.apache.org/jira/browse/CB-11276
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Environment: Windows 10
> Reporter: Omar Mefire
>
> Running ```cordova --version``` the first time, I expect to get prompted
> about telemetry. But instead, I automatically get opted out.
> This issue only happens when I'm running the CLI from git-bash (MINGW64).
> Things work fine with Powershell or the default command line.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]