Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15660] CLI : Updating the CLI to a new version shows us the old version

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-04-02T18:08:25.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2014 Sprint 07, 2014 Sprint 07 Tooling
ComponentsCLI
Labelsqe-3.2.0
ReporterLokesh Choudhary
AssigneeChris Barber
Created2013-11-04T22:21:07.000+0000
Updated2017-03-17T18:21:34.000+0000

Description

Description:

1.Update your CLI to a new version. 2.Run command "ti -v"

Actual Result:

1. You will see that you will still see the old version of the CLI. 2. Trying updating multiple does not help. 3. "sudo npm uninstall", "sudo npm cache clean" & install of CLI also does not work. 4. You have to get rid of
"/usr/local/lib/node_modules/titanium"
& from here
"/usr/local/bin"
as a workaround & possible from this location too
"/Users/--username--/.npm/titanium"
.

Expected Result:

1. We should see the new updated version after updating.

Comments

  1. Chris Barber 2013-11-05

    What version of Node.js? What version of npm? What command did you run to install the module? Did you use titanium@?
  2. Lokesh Choudhary 2013-11-05

    Node Version : v0.10.13 NPM Version : 1.3.2 Yes ran the command : sudo npm install -g titanium@
  3. Eric Merriman 2013-11-25

    This may be related to our QE workflow. Meaning things seem to be ok with npm until you need to step back a version (for regression verification) and then try to move forward again. Since a later version appears in the cache, this might be part of the cause. In some cases, our normal "1) uninstall 2) npm cache clean 3) reinstall" did not work and required hand-removing all components and nuking the .npm folder.
  4. Chris Barber 2014-04-02

    I've been testing this over the past few months and have yet to see this issue since. I suspect it was a bug in an older version of npm. I usually keep my npm version to a current version.
  5. Lee Morris 2017-03-17

    Closing ticket as the issue cannot be reproduced.

JSON Source