cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: npm update -g cordova not working? I'm crazy?
Date Tue, 11 Mar 2014 18:05:20 GMT
ahhh, gotcha.

I think the root of the problem here is that our version scheme doesn't
play well with npm. It assumes everything after an - is a pre-release, and
sorts that part alphabetically.

I just unpublished -rc.2 and now an update -g cordova gives me the correct
version.


On Tue, Mar 11, 2014 at 12:49 PM, Carlos Santana <csantana23@gmail.com>wrote:

> Ah just discovered something else:
>
> $mkdir -p ~/foo/cordova && cd ~/foo/cordova && npm install
> cordova@3.4.0-0.1.2 && npm outdated
>
> Checkout what's under "Wanted" vs. "Latest"
>
> Package      Current      Wanted       Latest  Location
>
> cordova  3.4.0-0.1.2  3.4.0-rc.2  3.4.0-0.1.3  cordova
>
>
>
> On Tue, Mar 11, 2014 at 12:38 PM, Carlos Santana <csantana23@gmail.com
> >wrote:
>
> > No good for users, we are telling them in the release note [1]  to use
> > "npm update -g cordova" and this will get them the RC not the latest
> > version.
> >
> > To update your tools:
> >
> > npm update -g cordova
> > npm update -g plugman
> >
> >
> >
> > 1: http://cordova.apache.org/news/2014/03/05/tools-release.html
> >
> >
> > On Tue, Mar 11, 2014 at 12:32 PM, Andrew Grieve <agrieve@chromium.org
> >wrote:
> >
> >> so, all good?
> >>
> >>
> >> On Tue, Mar 11, 2014 at 11:32 AM, Carlos Santana <csantana23@gmail.com
> >> >wrote:
> >>
> >> > sorry about the typo
> >> > Last command to install was $npm install -g cordova
> >> >
> >> > then I got the correct version 3.4.0-0.1.3
> >> >
> >> >
> >> > On Tue, Mar 11, 2014 at 11:29 AM, Carlos Santana <
> csantana23@gmail.com
> >> > >wrote:
> >> >
> >> > > use npm update -g cordova
> >> > >
> >> > > went from 3.4.0-0.1.0 to 3.4.0-rc2
> >> > >
> >> > >
> >> > > https://issues.apache.org/jira/browse/CB-6215
> >> > >
> >> > >
> >> > > $node -v
> >> > > v0.10.26
> >> > >
> >> > > $npm -v
> >> > > 1.4.3
> >> > >
> >> > > $cordova -v
> >> > > 3.4.0-0.1.0
> >> > >
> >> > > $npm ls -g cordova
> >> > > /Users/csantana23/.nvm/v0.10.26/lib
> >> > > ├── cordova@3.4.0-0.1.0
> >> > >
> >> > > $npm update -g cordova
> >> > >
> >> > > $cordova -v
> >> > > 3.4.0-rc.2
> >> > >
> >> > > $npm ls -g cordova
> >> > > /Users/csantana23/.nvm/v0.10.26/lib
> >> > > ├── cordova@3.4.0-rc.2
> >> > >
> >> > >
> >> > > $cordova install -g cordova
> >> > >
> >> > > $ cordova -v
> >> > > 3.4.0-0.1.3
> >> > >
> >> > > $ npm ls -g cordova
> >> > > /Users/csantana23/.nvm/v0.10.26/lib
> >> > > ├── cordova@3.4.0-0.1.3
> >> > >
> >> > > --
> >> > > Carlos Santana
> >> > > <csantana23@gmail.com>
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > Carlos Santana
> >> > <csantana23@gmail.com>
> >> >
> >>
> >
> >
> >
> > --
> > Carlos Santana
> > <csantana23@gmail.com>
> >
>
>
>
> --
> Carlos Santana
> <csantana23@gmail.com>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message