[TIMOB-16996] CLI: Node and NPM versions are displaying incorrectly
GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-05-27T20:26:53.000+0000 |
Affected Version/s | Release 3.3.0 |
Fix Version/s | Release 3.3.0 |
Components | CLI |
Labels | module_cli, qe-3.3.0, qe-testadded |
Reporter | Samuel Dowse |
Assignee | Chris Barber |
Created | 2014-05-20T17:03:49.000+0000 |
Updated | 2014-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
JSON Source
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
[~sfeather] I've already pinged the NPM guy, Isaac, to see what's up. Still waiting to hear back.
Could be worse. You could be asking the Federal Government for definitive national debt numbers!
Master pull request: https://github.com/appcelerator/titanium/pull/137 3_3_X pull request: https://github.com/appcelerator/titanium/pull/138
Using pull 137, the node version is correctly detected and reported, but the npm version is not:
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.