You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Braden Shepherdson <br...@chromium.org> on 2013/10/03 16:27:30 UTC

Re: CLI tool - Medic testing

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 <st...@gmail.com> 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 <dr...@chromium.org> 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
> >
>

Re: CLI tool - Medic testing

Posted by Marcel Kinard <cm...@gmail.com>.
repo README.md, cordova-docs, wiki/WorkingWithThree, …  these should be cross-linked, and scoped to avoid duplication.

On Oct 3, 2013, at 11:08 AM, Carlos Santana <cs...@gmail.com> wrote:

> Even better, I prefer things like this to be closer to the source/repo


Re: CLI tool - Medic testing

Posted by Carlos Santana <cs...@gmail.com>.
Even better, I prefer things like this to be closer to the source/repo

On Thursday, October 3, 2013, Andrew Grieve wrote:

> Might be better in the CLI's README.md
>
>
> On Thu, Oct 3, 2013 at 3:47 PM, Carlos Santana <csantana23@gmail.com<javascript:;>>
> wrote:
>
> > 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 <stevengill97@gmail.com<javascript:;>
> > <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 <drkemp@chromium.org<javascript:;>
> > <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
> > <csantana23@gmail.com <javascript:;>>
> >
>


-- 
Carlos Santana
<cs...@gmail.com>

Re: CLI tool - Medic testing

Posted by Andrew Grieve <ag...@chromium.org>.
Might be better in the CLI's README.md


On Thu, Oct 3, 2013 at 3:47 PM, Carlos Santana <cs...@gmail.com> wrote:

> 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 <stevengill97@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 <drkemp@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
> <cs...@gmail.com>
>

Re: CLI tool - Medic testing

Posted by Carlos Santana <cs...@gmail.com>.
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 <stevengill97@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 <drkemp@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
<cs...@gmail.com>