[
https://issues.apache.org/jira/browse/CB-9350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624111#comment-14624111
]
ASF GitHub Bot commented on CB-9350:
------------------------------------
GitHub user TimBarham opened a pull request:
https://github.com/apache/cordova-browser/pull/14
CB-9350 'cordova run browser' throws an exception.
The `run` command in `cordova-browser` was using an old (never released)
API for `cordova-serve` (I clearly checked in the wrong version of the code
when adding `cordova-serve` support to `cordova-browser`).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-browser CB-9350
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-browser/pull/14.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 #14
----
commit ce09dff44d625d92f8b82813c71551cdd77b038d
Author: Tim Barham <[email protected]>
Date: 2015-07-13T01:38:07Z
CB-9350 'cordova run browser' throws an exception.
cordova-browser's 'run' command was using an old (never released) API for
cordova-serve (I clearly checked in the wrong code when adding cordova-serve
support to cordova-browser).
----
> 'cordova run browser' throws an exception
> -----------------------------------------
>
> Key: CB-9350
> URL: https://issues.apache.org/jira/browse/CB-9350
> Project: Apache Cordova
> Issue Type: Bug
> Components: Browser
> Affects Versions: Master
> Reporter: Tim Barham
> Assignee: Tim Barham
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> Using the current (unreleased) cordova-browser code, {{cordova run browser}}
> throws the following exception:
> {noformat}
> C:\git\cordova-lib\cordova-serve\node_modules\q\q.js:155
> throw e;
> ^
> Error: Unrecognized platform: [object Object]
> at Object.getPlatformWwwRoot
> (C:\git\cordova-lib\cordova-serve\src\util.js:82:15)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]