[
https://issues.apache.org/jira/browse/CB-6232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
qi updated CB-6232:
-------------------
Description:
I created a project named ios-build, then it just can't add any plugins.
Finally I figured out it was a regexp error at plugman/src/platforms/ios.js
line 175
config_files = config_files.filter(function (val) {
return !(/^build\//.test(val)) && !(/\/www\/config.xml$/.test(val));
});
The workaround was simply removing the 'build' from name
was:
I created a project named ios-build, then it just can't add any plugins.
Finally I figured out it was a regexp error at plugman/src/platforms/ios.js
line 175
config_files = config_files.filter(function (val) {
return !(/^build\//.test(val)) && !(/\/www\/config.xml$/.test(val));
});
> Failed to add plugin if project path contained words 'build'
> ------------------------------------------------------------
>
> Key: CB-6232
> URL: https://issues.apache.org/jira/browse/CB-6232
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugman
> Affects Versions: 3.4.0
> Environment: mac, osx 10.9.2
> Reporter: qi
>
> I created a project named ios-build, then it just can't add any plugins.
> Finally I figured out it was a regexp error at plugman/src/platforms/ios.js
> line 175
> config_files = config_files.filter(function (val) {
> return !(/^build\//.test(val)) &&
> !(/\/www\/config.xml$/.test(val));
> });
> The workaround was simply removing the 'build' from name
--
This message was sent by Atlassian JIRA
(v6.2#6252)