[
https://issues.apache.org/jira/browse/CB-6151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918479#comment-13918479
]
ASF subversion and git services commented on CB-6151:
-----------------------------------------------------
Commit 2d2c7915421d124bb3a574465af44bba887e6707 in cordova-plugman's branch
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=2d2c791 ]
CB-6151 Fix exception when adding a new platform to a CLI project
Options param was being treated as required instead of optional.
> Plugins added prior to platform are not included in that platform
> -----------------------------------------------------------------
>
> Key: CB-6151
> URL: https://issues.apache.org/jira/browse/CB-6151
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, Plugman
> Affects Versions: 3.4.0
> Reporter: Bryan Higgins
>
> plugman 0.20.1 / CLI 3.4.0-0.1.2
> cordova create project
> cd project
> cordova plugin add org.apache.cordova.file-transfer
> cordova platform add android
> TypeError: Cannot set property 'is_top_level' of undefined
> at Object.installPlugin
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/install.js:42:26)
> at /usr/local/lib/node_modules/cordova/src/platform.js:318:44
> at _fulfilled
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:798:54)
> at self.promiseDispatch.done
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:827:30)
> at Promise.promise.promiseDispatch
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:760:13)
> at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:821:14
> at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:415:13)
> cordova plugin
> [ 'org.apache.cordova.file-transfer' ]
--
This message was sent by Atlassian JIRA
(v6.2#6252)