[TIMOB-23448] SDK: Set Node 4.X as minimum supported version
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-07-20T01:02:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.0.0, titanium 5.0.9, titanium 5.0.10 |
Components | Tooling |
Labels | breaking-change |
Reporter | Tim Poulsen |
Assignee | Feon Sua Xin Miao |
Created | 2016-05-27T16:00:01.000+0000 |
Updated | 2018-08-06T17:49:11.000+0000 |
Description
Update the minimum supported version of Node to 4.x. Make sure to check for and update any version checks in the code as well as updating the package.json file.
PR: https://github.com/appcelerator/titanium_mobile/pull/8144 https://github.com/appcelerator/titanium/pull/250
APPROVED and merged!
[~fmiao] [~cng] - What is the minimum required node version to work with SDK 6.0 - is it node v4 or v5? In this ticket, we are setting 4.x as miniumum version but below error says node.js v5
4. what...?
It should be Node.js 4.2.0 through the latest 4.x (currently 4.4.7).
The range is set here: https://github.com/appcelerator/titanium_mobile/blob/master/package.json#L73
[~fmiao] So you are saying what Kondal is seeing is accurate? Then do you think we should do this instead?
"node": ">=4.0 <=5.x"
to"node": ">=4.0 <5.0"
?[~ingo] thoughts? ^
[~fmiao][~cng] - https://github.com/appcelerator/titanium/blob/5d22ac5bc272c95bca558857ce0fc15f494af58a/lib/titanium.js#L415 Message is misleading;
I think better way would be, showing minimum and maximum version supported.
Agreed. Why don't we do like we do for other things like Xcode versions where if the version is too old we say "You must run version X or newer" and if it's too new we say "It's too new and things may not work, good luck."
Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.