You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tim Barham (JIRA)" <ji...@apache.org> on 2015/03/13 13:23:39 UTC
[jira] [Updated] (CB-8670) Error when set engine name to
"cordova-windows" in plugin.xml
[ https://issues.apache.org/jira/browse/CB-8670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Barham updated CB-8670:
---------------------------
Description:
If you create an engine element with name="cordova-windows" in plugin.xml, like this:
{code:xml}
<engines>
<engine name="cordova-windows" version=">=3.8.0" />
</engines>
{code}
You will get an error when you add the plugin:
{noformat}
TypeError: Cannot call method 'indexOf' of undefined
at ...\cordova-lib\src\plugman\install.js:232:45
{noformat}
was:
If set create an engine element with name="cordova-windows" in plugin.xml, like this:
{code:xml}
<engines>
<engine name="cordova-windows" version=">=3.8.0" />
</engines>
{code}
You will get an error when you add the plugin:
{noformat}
TypeError: Cannot call method 'indexOf' of undefined
at ...\cordova-lib\src\plugman\install.js:232:45
{noformat}
> Error when set engine name to "cordova-windows" in plugin.xml
> -------------------------------------------------------------
>
> Key: CB-8670
> URL: https://issues.apache.org/jira/browse/CB-8670
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Affects Versions: Master
> Reporter: Tim Barham
> Original Estimate: 2m
> Remaining Estimate: 2m
>
> If you create an engine element with name="cordova-windows" in plugin.xml, like this:
> {code:xml}
> <engines>
> <engine name="cordova-windows" version=">=3.8.0" />
> </engines>
> {code}
> You will get an error when you add the plugin:
> {noformat}
> TypeError: Cannot call method 'indexOf' of undefined
> at ...\cordova-lib\src\plugman\install.js:232:45
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org