Should this info be in the wiki? Very useful, I was using similar approach but ending with same result.
On Thursday, October 3, 2013, Braden Shepherdson wrote: > Ack, sorry I wasn't around. This is a known problem, and a general one not > specific to this release. > > If you're using master CLI, you need to be linking in master plugman as > well. > > The sequence of commands to get everything working is: > > git clone https://git-wip-us.apache.org/repos/asf/cordova-plugman.git > cd cordova-plugman > npm install > sudo npm link -g > cd .. > git clone https://git-wip-us.apache.org/repos/asf/cordova-cli.git > cd cordova-cli > npm install > sudo npm link -g > npm link plugman > > Now your global cordova command is master, and its plugman is master as > well. > > Braden > > > > On Mon, Sep 30, 2013 at 1:48 PM, Steven Gill > <stevengil...@gmail.com<javascript:;>> > wrote: > > > Hey David, > > > > I think this is known and we need to do a plugman release pretty soon. > > > > Thanks for reporting this on the list! > > > > -Steve > > > > > > On Mon, Sep 30, 2013 at 10:14 AM, David Kemp > > <drk...@chromium.org<javascript:;>> > wrote: > > > > > Summary: > > > Fresh checkout of Cordova-Cli from master results in a cli that will > not > > > add a plugin. > > > > > > [Error: Error fetching plugin: TypeError: Cannot call method 'fetch' > > > of undefined] > > > > > > > > > Details: > > > The current Cordova-cli master requires a version of plugman that has > not > > > yet been published. > > > Cli requires plugman 0.12.x and that plugman does not expose 'raw'. > > > Cordova-plugman (master) does expose 'raw', but that version has not > been > > > published to npm. > > > > > > This will only be an issue if you get a fresh git checkout of cli from > > > master, and don't overwrite the plugman with a fresh checkout as well. > It > > > does not affect the version of cli that is published via npm. > > > > > > David Kemp > > > > > > -- Carlos Santana <csantan...@gmail.com>