Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15461] CLI - CLI would install 3.2.0 instead of 3.1.2

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionNot Our Bug
Resolution Date2013-10-11T21:11:41.000+0000
Affected Version/sRelease 3.1.4
Fix Version/sn/a
ComponentsCLI
LabelsMavericks, qe-3.1.4
ReporterSamuel Dowse
AssigneeChris Barber
Created2013-10-11T20:22:45.000+0000
Updated2017-03-13T21:39:25.000+0000

Description

Description

I tried to downgrade CLI from version 3.2.0 to 3.1.2 and came across a problem. It would install 3.2.0 over and over again no matter what method I tried. I tried uninstalling 3.2.0 and getting fresh install of 3.1.2 using
sudo npm install -g titanium
I tried uninstalling 3.2.0 and cleaning the cache and getting a fresh install of 3.1.2 using
sudo npm cache clean
sudo npm install -g titanium

Steps

1. Open Terminal 2. Uninstall CLI and reinstall the latest available version (3.1.2)

Result

It would reinstall version 3.2.0

Expected Result

It should install version 3.1.2 +*Additional Information*+ I eventually got it to work by uninstalling 3.2.0, opening Studio and installing CLI through Studio.

Comments

  1. Chris Barber 2013-10-11

    This is a known issue with npm: https://github.com/isaacs/npm/issues/3265 As a workaround, just specify the version:
       sudo npm install -g titanium@3.1.2
       
  2. Lee Morris 2017-03-13

    Closing ticket as this is not our bug.

JSON Source