[TIMOB-25428] Hyperloop: Android - Block scope declaration errors with node4
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-10-23T11:39:05.000+0000 |
Affected Version/s | Hyperloop 2.2.0 |
Fix Version/s | Hyperloop 2.2.1 |
Components | Android, Hyperloop |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2017-10-23T09:59:34.000+0000 |
Updated | 2017-10-25T17:53:04.000+0000 |
Master: https://github.com/appcelerator/hyperloop.next/pull/242 2_2_X: https://github.com/appcelerator/hyperloop.next/pull/241
[~hknoechel] Not sure who you want to review this
That would probably be me. Looks good, CR and FR passed, the Android build is working again on Node 4 with these changes!
QE-testing: 1. Download the node version mananger "n":
npm install -g n
2. Remember which node-version you currently have (node .v
) 3. Download to Node 4 withn 4
, output like this:4. Run hyperloop-examples with the old Hyperloop (2.2.0) and confirm it crashes during build 5. Run hyperloop-examples with the new Hyperloop (2.2.1) and confirm it does not crash during build
Validated fix using Han's test steps above. Compile-time failure occurred with Hyperloop 2.2.0. With Hyperloop 2.2.1, no compile-time error was seen, no run-time errors were seen either. The installed app worked as expected. This is the environment: Node Version: 6.10.3 NPM Version: 3.10.10 Mac OS: 10.13 Appc CLI: 6.3.0-master.16 Appc CLI NPM: 4.2.10-2 Titanium SDK version: 6.3.0.v20171018084007 Appcelerator Studio vers 4.10.0 Hyperloop 2.2.0 GA, 2.2.1 Beta 2 Android 7.1.2 Xcode 9.0