[
https://issues.apache.org/jira/browse/CB-11263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Omar Mefire updated CB-11263:
-----------------------------
Description: Running: `cordova telemetry help` ends up disabling telemetry
instead. (was: Steps to reproduce:
1. Create a blank app: {{cordova create test com.app.test test}}
2. Add and save a platform: {{cordova platform add --save ios}}
3. Add and save another platform: {{cordova platform add --save android}}
4. Remove the platforms: {{cordova platform remove android ios}}
5. Try to restore platforms automatically: {{cordova prepare}}
Expected: both platforms installed and prepared
Actual:
{noformat}
Error: Trying to initialize npm when settings have not been restored from a
previous initialization.
{noformat}
Running {{cordova prepare}} again fixes the issue.)
> `cordova telemetry help` should display telemetry help
> ------------------------------------------------------
>
> Key: CB-11263
> URL: https://issues.apache.org/jira/browse/CB-11263
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Affects Versions: Master
> Environment: OS X
> Reporter: Omar Mefire
> Assignee: Omar Mefire
> Labels: cordova-lib, platform, restore, save
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Running: `cordova telemetry help` ends up disabling telemetry instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]