{ "id": "167850", "key": "TIMOB-24720", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "19381", "name": "Hyperloop 2.1.1", "archived": false, "released": true, "releaseDate": "2017-06-02" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-05-26T10:26:41.000+0000", "created": "2017-05-22T23:18:47.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "hyperloop", "titanium" ], "versions": [ { "id": "19101", "name": "Hyperloop 2.1.0", "archived": false, "released": true, "releaseDate": "2017-04-28" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2017-05-31T17:56:34.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "I am getting this error when I try const test = 5 (same thing happens with let)\r\n\r\n[ERROR] The keyword 'const' is reserved\r\n\r\n\r\nNOTE: In trying to recreate this with new project, I am noticing that it only happens when Hyperloop is enabled.\r\n\r\nSee steps to recreate below.", "attachment": [ { "id": "62272", "filename": "debug.log", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2017-05-23T12:07:07.000+0000", "size": 206285, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: Error when using ES6 keywords with Hyperloop enabled", "creator": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": "Using Titanium SDK 6.1.0.v20170519131839 (RC Build)", "comment": { "comments": [ { "id": "420201", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~brentonhouse] Hey there! Thanks for the report, could you provide a little more information about the issue? \r\n\r\n* Is the project a classic project or an alloy project\r\n* Could you copy the full error log when running your command with {{-l trace}}\r\n* Some other versions such as CLI version {{appc -v -o json}}\r\n\r\nThanks!", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-05-23T09:11:31.000+0000", "updated": "2017-05-23T09:11:31.000+0000" }, { "id": "420204", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "Thanks [~eharris]\r\n\r\nIt is an Alloy project.\r\n\r\nSteps to recreate.\r\n\r\n1. Create new project with CLI\r\n2. Select option to enable Hyperloop\r\n3. Change 'var' to 'const' in alloy.js\r\n4. Execute: appc ti build --platform ios --target simulator --log-level trace\r\n\r\n{noformat}\r\n appc -v -o json\r\n{\"NPM\":\"4.2.9\",\"CLI\":\"6.2.1\"}\r\n{noformat}\r\n\r\nI will attach the log file as well.\r\n\r\n\r\nAlso as a separate issue, notice that the CLI did not accept my parameter of --log-level trace\r\nYou can see in the log file that the parameter was there but the CLI still prompted me for log level.\r\n", "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2017-05-23T12:05:53.000+0000", "updated": "2017-05-23T12:10:37.000+0000" }, { "id": "420206", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "If it is of any help, the error seems to be coming from the {{nodent}} npm package.", "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2017-05-23T12:19:14.000+0000", "updated": "2017-05-23T12:19:14.000+0000" }, { "id": "420209", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~brentonhouse] Thanks for the tips! Moving this over to TIMOB so apologies for any email spam you might receive :)", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-05-23T13:35:33.000+0000", "updated": "2017-05-23T13:35:33.000+0000" }, { "id": "420218", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Makes sense to include this in 2.1.1. I see your 2_1_X backport, so please also make a PR for master. [~jvennemann] wanna review? :-) [~cwilliams] may be a good additional reviewer.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-23T15:44:48.000+0000", "updated": "2017-05-23T15:44:48.000+0000" }, { "id": "420221", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "I assume the issue with the --log-level flag is a separate issue and I should create a different ticket, correct?", "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2017-05-23T16:03:27.000+0000", "updated": "2017-05-23T16:21:57.000+0000" }, { "id": "420224", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Yes, the removal of the flag is separate to this issue. It's a known issue (CLI-1208), so no need to worry about filing a new ticket :)", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-05-23T16:12:43.000+0000", "updated": "2017-05-23T16:12:43.000+0000" }, { "id": "420226", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "Thanks [~eharris]!", "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2017-05-23T16:22:20.000+0000", "updated": "2017-05-23T16:22:20.000+0000" }, { "id": "420229", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "LGTM! \r\n\r\n[~eharris] good idea to move to babylon for parsing, so we are in sync with node-titanium-sdk. I opened TIMOB-24721 for that, just FYI.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-23T17:03:56.000+0000", "updated": "2017-05-23T17:03:56.000+0000" }, { "id": "420484", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] Is the review done on this one. Can it be merged? We're hoping to get 2.1.1 released Friday.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-26T06:54:29.000+0000", "updated": "2017-05-26T06:54:29.000+0000" }, { "id": "420487", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~amukherjee] As far as I can tell yes the review is done. Shall I go ahead and merge or is that down to one of [~jvennemann] or [~cwilliams]?", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-05-26T08:46:00.000+0000", "updated": "2017-05-26T08:46:00.000+0000" }, { "id": "420490", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Just merged it, as both reviews passed.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-26T10:26:52.000+0000", "updated": "2017-05-26T10:26:52.000+0000" }, { "id": "420703", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Node Version: 6.10.1 \r\nNPM Version: 3.10.10 \r\nMac OS: 10.12.4 \r\nAppc CLI: 6.2.2 \r\nAppc CLI NPM: 4.2.9 \r\nTitanium SDK version: 6.1.0.GA \r\nAppcelerator Studio, build: 4.9.0.201705251638 \r\nXcode 8.3.2 \r\nHyperloop 2.1.1\r\n\r\nI followed the steps in the description using the above environment, and confirmed that the reserved keyword error is not seen.\r\n", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-31T17:56:05.000+0000", "updated": "2017-05-31T17:56:05.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }