I had the same error that you got, but running npm install in the cordova-cli directory installed a fresh one (not sure which version ) and everything worked fine
On Tue, Jul 16, 2013 at 10:50 AM, Shazron <shaz...@gmail.com> wrote: > I installed plugman 0.9.6 before using cordova-cli from master, and that is > the latest on npm - but I assume you mean the latest from the > cordova-plugman repo > > > On Tue, Jul 16, 2013 at 7:42 AM, David Kemp <drk...@google.com> wrote: > > > the newest cli needs the newest plugman. > > Also if you uninstall plugins with the older version, the new one wont > put > > them in. > > > > > > > > On Tue, Jul 16, 2013 at 10:27 AM, Shazron <shaz...@gmail.com> wrote: > > > > > I'm using the master version of the cordova-cli, installing a plugin is > > > fine, but uninstall throws this error: > > > > > > $ ../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'] > > > > > > > > > > > > On Tue, Jul 16, 2013 at 7:21 AM, Joe Bowser <bows...@gmail.com> wrote: > > > > > > > Has anyone managed to get plugman to uninstall a plugin? The > > > > dependencies plugin never cleanly installs or uninstalls. > > > > > > > > On Tue, Jul 16, 2013 at 6:37 AM, Shazron <shaz...@gmail.com> wrote: > > > > > https://issues.apache.org/jira/browse/CB-4264 > > > > > > > > > > Turns out it was a "false positive" failure, the test needs to be > > > > improved. > > > > > But so far all systems go for iOS. > > > > > > > > > > > > > > > On Mon, Jul 15, 2013 at 6:54 PM, Shazron <shaz...@gmail.com> > wrote: > > > > > > > > > >> So far I went and tested with the plugins (specified in the > > > > >> dependencies-plugin on cordova-mobile-spec) on master for iOS, > with > > 1 > > > > test > > > > >> failing: > > > > >> > > > > >> File API DirectoryReader interface readEntries file.spec.109 > should > > > > return > > > > >> an empty entry list on the second call. > > > > >> Expected 0 not to be 0. > > > > >> > > > > > > > > > >