Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16996] CLI: Node and NPM versions are displaying incorrectly

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-05-27T20:26:53.000+0000
Affected Version/sRelease 3.3.0
Fix Version/sRelease 3.3.0
ComponentsCLI
Labelsmodule_cli, qe-3.3.0, qe-testadded
ReporterSamuel Dowse
AssigneeChris Barber
Created2014-05-20T17:03:49.000+0000
Updated2014-06-02T17:13:10.000+0000

Description

Description

'ti setup check' displays the latest available version to be 0.10.26, despite the latest version actually being 0.10.28. The issue is similar with NPM, the displayed latest is 1.4.3, whereas it's actually 1.4.9.

Steps To Reproduce

1. Install the latest node.js installer 2. Run 'ti setup check'

Expected Result

Should display you have the latest node and npm available

Actual Result

Says we can update to an older version

Comments

  1. Stephen Feather 2014-05-20

    Not so much a problem with the CLI, but with the data source. http://nodejs.org/dist/npm-versions.txt <- reports that combination as the latest in the 0.10.x series. Additionally, 'problem' is not unique to 3.3.x
  2. Chris Barber 2014-05-20

    [~sfeather] I've already pinged the NPM guy, Isaac, to see what's up. Still waiting to hear back.
  3. Stephen Feather 2014-05-20

    Could be worse. You could be asking the Federal Government for definitive national debt numbers!
  4. Chris Barber 2014-05-23

    Master pull request: https://github.com/appcelerator/titanium/pull/137 3_3_X pull request: https://github.com/appcelerator/titanium/pull/138
  5. Tim Poulsen 2014-05-27

    Using pull 137, the node version is correctly detected and reported, but the npm version is not:
       Node.js
         ✓  node               up-to-date (v0.10.28)
         ★  npm                new version v1.4.12 available! (currently v1.4.13)
       
  6. Samuel Dowse 2014-05-29

    Verified fixed on: Mac OSX 10.9.3 Appcelerator Studio, build: 3.3.0.201405271647 Titanium SDK, build: 3.3.0.v20140528144113 Titanium CLI, build: 3.3.0-beta Alloy: 1.4.0-beta Node and NPM versions are displaying correctly. Closing.

JSON Source