{ "id": "149228", "key": "TIMOB-19156", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-07-31T04:46:17.000+0000", "created": "2015-06-29T12:02:12.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2017-03-16T21:08:57.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": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "Since updating Studio to 4.1.0 Beta LiveView does no longer work via CLI. It gives error that were [reported earlier on Q&A|https://community.appcelerator.com/topic/364/liveview-works-on-studio-but-doesn-t-work-on-cli]:\r\n\r\n{code}\r\n...\r\n[INFO] Finished building the application in 1s 581ms\r\n[INFO] Launching iOS Simulator\r\n [LiveView] { [Error: write EIO] code: 'EIO', errno: 'EIO', syscall: 'write' }\r\n[INFO] Project built successfully in 27s 928ms\r\n\r\n-- Start simulator log -------------------------------------------------------\r\n[INFO] Application started\r\n [LiveView] [Error: This socket is closed.]\r\n[INFO] appc-upgrade-4.1.0/1.0 (4.1.0.e2cc3f1)\r\n [LiveView] [Error: This socket is closed.]\r\n{code}\r\n\r\nEvery time you save a file the socket errors occur. The Simulator is not updated.", "attachment": [], "flagged": false, "summary": "LiveView via CLI does not work (Error: write EIO)", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "Studio 4.1.0.201506261427 (4.1.0 Beta)\r\nLiveView 1.1.0.1433362383\r\nMac OS X 10.10.4", "closedSprints": [ { "id": 455, "state": "closed", "name": "2015 Sprint 15 Tooling", "startDate": "2015-07-20T16:26:19.926Z", "endDate": "2015-08-08T01:26:00.000Z", "completeDate": "2015-08-03T20:10:37.386Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "356870", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "A Q&A user found out, and I just confirmed that switching back from NodeJS v0.12 to NodeJS v0.10 resolves the issue. It seems like our server-part is not NodeJS v0.12 compatible, but only when ran via CLI?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-07-03T06:54:26.000+0000", "updated": "2015-07-03T06:54:26.000+0000" }, { "id": "357487", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/liveview/pull/87\r\n\r\nTo test:\r\n1. Switch to Node v0.12\r\n2. Run {{appc run -p ios --liveview}}\r\n3. liveview server should start with no {{EIO}} error\r\n4. Try with Node v0.10, it should work too", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-07-10T21:09:29.000+0000", "updated": "2015-07-10T21:09:29.000+0000" }, { "id": "358667", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR merged to master.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-31T04:46:17.000+0000", "updated": "2015-07-31T04:46:17.000+0000" }, { "id": "413068", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T21:08:57.000+0000", "updated": "2017-03-16T21:08:57.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }