You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bryan Higgins (JIRA)" <ji...@apache.org> on 2014/03/03 15:39:23 UTC
[jira] [Commented] (CB-6151) Plugins added prior to platform are
not included in that platform
[ https://issues.apache.org/jira/browse/CB-6151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918108#comment-13918108 ]
Bryan Higgins commented on CB-6151:
-----------------------------------
This is not just limited to plugin dependencies:
cordova create project
cd project
cordova platform add blackberry10
cordova plugin add org.apache.cordova.device
cordova platform add android
=> Same error message (cannot set property is_top_level)
cordova build
=> Look in plugins/android.json, the device plugin is not included
User is forced to rm and re-add the plugin.
> 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)