[TIMOB-25944] CLI: Block-scoped declaration error when using Node 4
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2018-10-18T09:46:25.000+0000 |
Affected Version/s | Release 7.1.1 |
Fix Version/s | n/a |
Components | CLI |
Labels | regression |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2018-04-06T18:56:39.000+0000 |
Updated | 2018-10-18T13:04:25.000+0000 |
PR for node-appc: https://github.com/appcelerator/node-appc/pull/129 Will need titanium_mobile PRs after merge
Thought we require Node 8.x LTS since SDK 7?
Appc CLI does, and we recommend it. But Titanium itself supports everything from 4 and up (and works on 7.1.0.GA)
When using node 4.6.1 and using
ti clean
the following error was shown:Closing as wont fix, we'll be going to 6 as a minimum https://github.com/appcelerator/titanium_mobile/pull/10382/commits/2c0cd4f83673ea8fd3a9454d92167cb34faf4a44
Note that while this is a major version change in terms of supported Node versions, Nodejs v4.x was EOL'd back at the end of April this year. It doesn't make sense to make efforts to continue to support an older EOL'd version of Node anymore (especially since the CLI requires Node 8.10 as it's minimum now!)