[
https://issues.apache.org/jira/browse/CB-8670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Barham closed CB-8670.
--------------------------
Resolution: Fixed
> 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
> Assignee: 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: [email protected]
For additional commands, e-mail: [email protected]