{ "id": "172479", "key": "TIMOB-26478", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-10-23T10:42:01.000+0000", "created": "2018-10-23T07:41:34.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "56937", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "171306", "key": "TIMOB-25861", "fields": { "summary": "Liveview: Support transpiling user code ", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-10-23T10:42:01.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "When trying to use LiveView (1.3.0) in an ES6 based project, the build succeeds, LiveView starts and then errors out, making it impossible to use:\r\n{code}\r\n[DEBUG] Loading: /Users/hans/Library/Developer/CoreSimulator/Devices/9D94B68D-07A8-4F5B-9C60-8562CA3C8914/data/Containers/Bundle/Application/8D3DF18D-44B5-4B5E-A819-D84B59E6BD03/App.app/app.js, Resource: app_js\r\n [LiveView] Client connected\r\n[ERROR] Script Error {\r\n[ERROR] column = 20;\r\n[ERROR] line = 666;\r\n[ERROR] message = \"[LiveView] File Server unavailable. Host Unreachable @ 192.168.178.90:8324\\n[LiveView] Please ensure your device and computer are on the same network and the port is not blocked.\";\r\n[ERROR] sourceURL = \"file:///Users/hans/Library/Developer/CoreSimulator/Devices/9D94B68D-07A8-4F5B-9C60-8562CA3C8914/data/Containers/Bundle/Application/8D3DF18D-44B5-4B5E-A819-D84B59E6BD03/App.app/app.js\";\r\n[ERROR] stack = \" at _getRemoteSource(/app.js:666:20)\\n at _compile(/app.js:719:28)\\n at require(/app.js:586:23)\\n at connectServer(/app.js:493:17)\\n at patch(/app.js:425:23)\\n at (/app.js:764:14)\\n at global code(/app.js:769:3)\";\r\n[ERROR] }\r\n[DEBUG] Application booted in 11079.484940 ms\r\n{code}\r\nWhen entering the IP to Chrome, the following is returned:\r\n{code}\r\n{\"pid\":938,\"path\":\"/Users/hans/Documents/dev/path/to/project/\",\"uptime\":162.372,\"alloy\":true}\r\n{code}\r\n\r\nWorking with LiveView is fundamental for our Appcelerator toolchain, so this should be fixed asap.", "attachment": [], "flagged": false, "summary": "CLI: Cannot use LiveView with ES6", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "442857", "author": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "body": "Same issue here!\r\nTo develop without LiveView is impossible specially on Android where a single build, on my machine (mbp 2016), takes ~1.50mins to finish.\r\nThanks!", "updateAuthor": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-10-23T07:54:33.000+0000", "updated": "2018-10-23T07:54:33.000+0000" }, { "id": "442869", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Issue is because liveview doesn't fully support import/export statements today. Will be fixed by linked ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-10-23T10:41:47.000+0000", "updated": "2018-10-23T10:41:47.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }