{ "id": "122055", "key": "TIMOB-15660", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15939", "description": "2014 Sprint 07", "name": "2014 Sprint 07", "archived": true, "released": true, "releaseDate": "2014-04-11" }, { "id": "15942", "description": "2014 Sprint 07 Tooling", "name": "2014 Sprint 07 Tooling", "archived": true, "released": true, "releaseDate": "2014-04-11" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-04-02T18:08:25.000+0000", "created": "2013-11-04T22:21:07.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.2.0" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-17T18:21:34.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description:\r\n1.Update your CLI to a new version.\r\n2.Run command \"ti -v\"\r\n\r\nh5.Actual Result:\r\n1. You will see that you will still see the old version of the CLI.\r\n2. Trying updating multiple does not help.\r\n3. \"sudo npm uninstall\", \"sudo npm cache clean\" & install of CLI also does not work.\r\n4. You have to get rid of {code}\"/usr/local/lib/node_modules/titanium\"{code} & from here {code}\"/usr/local/bin\"{code} as a workaround & possible from this location too {code}\"/Users/--username--/.npm/titanium\"{code}. \r\n\r\nh5.Expected Result:\r\n1. We should see the new updated version after updating.", "attachment": [], "flagged": false, "summary": "CLI : Updating the CLI to a new version shows us the old version ", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppcel Studio : 3.2.0.201310312311\r\nTi SDK : 3.2.0.v20131031141643\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.0", "comment": { "comments": [ { "id": "278116", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "What version of Node.js? What version of npm? What command did you run to install the module? Did you use titanium@?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-05T01:02:46.000+0000", "updated": "2013-11-05T01:02:46.000+0000" }, { "id": "278187", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Node Version : v0.10.13\r\nNPM Version : 1.3.2\r\nYes ran the command : sudo npm install -g titanium@", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-05T17:44:28.000+0000", "updated": "2013-11-05T18:04:57.000+0000" }, { "id": "281265", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "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.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-25T22:47:28.000+0000", "updated": "2013-11-25T22:47:28.000+0000" }, { "id": "299625", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "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.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-04-02T18:08:25.000+0000", "updated": "2014-04-02T18:08:25.000+0000" }, { "id": "413545", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:21:34.000+0000", "updated": "2017-03-17T18:21:34.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }