[TIMOB-18414] CLI: Set Node 0.10 as minimum supported version
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-02-12T03:44:08.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.4.2 |
Components | CLI |
Labels | notable |
Reporter | Ingo Muschenetz |
Assignee | Tim Poulsen |
Created | 2015-01-20T16:31:50.000+0000 |
Updated | 2015-03-05T19:15:27.000+0000 |
Description
We have some existing references to Node 0.8. It's no longer supported, so we should remove them wherever they exist and move them to 0.10 as the minimum version.
This would be worthwhile to do in 4.0.0 if possible.
PR for Titanium: https://github.com/appcelerator/titanium/pull/186 Functional test: 1. Recommend you install a node version manager, such as https://www.npmjs.com/package/n 2. If necessary, install a Node version < 10 e.g.
n 0.8.17
3. Use any of theti
commands, such asti info
orti sdk
and you should get a message that "ERROR: Titanium requires Node.js 0.10 or newer." 4. Install a Node version >= 0.10 5. Any of the baseti
commands, such asti setup
orti sdk
should work. This change does not affect SDK-related commands such asti build
. That will be provided by a separate PR.PR merged.
Titanium CLI 3_5_X backport: https://github.com/appcelerator/titanium/pull/196 Titanium CLI 3_4_X backport: https://github.com/appcelerator/titanium/pull/197
Verified fix on: Mac OSX 10.10.2 Appcelerator Studio, build: 4.0.0.201502171827 Titanium SDK build: 3.5.1.v20150305100816 Titanium CLI, build: 3.4.2-rc4 Alloy: 1.5.1 Node 0.8.17 Ran ti commands and all commands failed with the error *ERROR: Titanium requires Node.js 0.10 or newer.* Closing ticket.