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:19:39 UTC

[jira] [Created] (CB-8670) Error when set engine name to "cordova-windows" in plugin.xml

Tim Barham created CB-8670:
------------------------------

             Summary: 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


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}



--
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