[ 
https://issues.apache.org/jira/browse/CB-11276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Omar Mefire updated CB-11276:
-----------------------------
    Description: 
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.

  was:
I installed VS2015. In the documentation, there are no further instruction on 
how to do that, so I went with the default options. All that just to get 
MSBuild installed.

So then:
{code}
npm install -g cordova
cordova create CordovaApp
cd CordovaApp
cordova platform add windows
cordova run windows
{code}
So it's a *completely virgin* project. The default's oughta work, right? Wrong:
{code}
d:\Projecten\CordovaApp>cordova run windows
Building project: 
d:\Projecten\CordovaApp\platforms\windows\CordovaApp.Windows.jsproj
        Configuration : debug
        Platform      : anycpu
C:\Program Files 
(x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(2049,5): error 
MSB3774: Could not find
SDK "Microsoft.WinJS.2.0, Version=1.0". 
[d:\Projecten\CordovaApp\platforms\windows\CordovaApp.Windows.jsproj]
Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe: Command failed with 
exit code 1
{code}
So, either a step is missing from the documentation, or it's looking for 
something that located someplace else.

Remember, all related components are *completely* default. I have NEVER touched 
ANY configuration of ANY of the involved components or code!


> 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
>            Assignee: Raghav Katyal
>
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to