[ 
https://issues.apache.org/jira/browse/CB-4269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-4269.
----------------------------------

    Resolution: Not A Problem

run "npm install" in the cordova-cli folder to install the plugman it depends 
on, in this case it is 0.9.3 (I had 0.9.6 installed globally)

With 0.9.3 it works.
                
> cordova-cli remove plugin throws a TypeError
> --------------------------------------------
>
>                 Key: CB-4269
>                 URL: https://issues.apache.org/jira/browse/CB-4269
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: Master
>            Reporter: Shazron Abdullah
>            Assignee: Filip Maj
>             Fix For: 3.0.0
>
>
> Tested using master.
> $ ../cordova-cli/bin/cordova plugin remove org.apache.cordova.core.console
> [TypeError: Object function uninstallPlugin(platform, project_dir, id, 
> plugins_dir, options, callback) {
>     if (!platform_modules[platform]) {
>         var err = new Error(platform + " not supported.");
>         if (callback) return callback(err);
>         else throw err;
>     }
>     var plugin_dir = path.join(plugins_dir, id);
>     if (!fs.existsSync(plugin_dir)) {
>         var err = new Error('Plugin "' + id + '" not found. Already 
> uninstalled?');
>         if (callback) return callback(err);
>         else throw err;
>     }
>     var current_stack = new action_stack();
>     options.is_top_level = true;
>     runUninstall(current_stack, platform, project_dir, plugin_dir, 
> plugins_dir, options, callback);
> } has no method 'uninstallPlatform']

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to