[
https://issues.apache.org/jira/browse/CB-9278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14635877#comment-14635877
]
ASF GitHub Bot commented on CB-9278:
------------------------------------
GitHub user omefire opened a pull request:
https://github.com/apache/cordova-lib/pull/266
CB-9278: BugFix: Restoring multiple platforms fails
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-lib CB-9278
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/266.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #266
----
commit 853f4f3d469238e3c9bb2a5b231b30878fc2fccf
Author: Omar Mefire <[email protected]>
Date: 2015-07-21T08:25:59Z
CB-9278: BugFix: Restoring multiple platforms fails
commit 7105f7146c394df71616668df7a68935eb252ef5
Author: Omar Mefire <[email protected]>
Date: 2015-07-21T08:30:36Z
CB-9278: Remove unused variable
----
> Restoring multiple platforms fails
> ----------------------------------
>
> Key: CB-9278
> URL: https://issues.apache.org/jira/browse/CB-9278
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Affects Versions: Master
> Environment: OS X
> Reporter: Dmitry Blotsky
> Assignee: Omar Mefire
> Labels: cordova-lib, platform, restore, save
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]