{ "id": "167478", "key": "TIMOB-24662", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" }, { "id": "19513", "name": "node-titanium-sdk 0.2.2", "archived": false, "released": true }, { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-05-06T08:24:11.000+0000", "created": "2017-05-05T13:45:40.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "issuelinks": [ { "id": "54834", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "152521", "key": "TIMOB-19834", "fields": { "summary": "Support ES6 for Titanium Application Development", "status": { "description": "This issue is being actively worked on at the moment by the assignee.", "name": "In Progress", "id": "3", "statusCategory": { "id": 4, "key": "indeterminate", "colorName": "yellow", "name": "In Progress" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } }, { "id": "55286", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "167949", "key": "TIMOB-24884", "fields": { "summary": "CLI: Minification produces invalid 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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2017-06-23T17:20:31.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5.Description\r\n\r\nBuilding an application for device (or test deploytype) fails with the below, error is coming from babel-core here https://github.com/babel/babel/blob/6.x/packages/babel-core/src/transformation/file/options/option-manager.js#L269\r\n\r\n{code}\r\n[INFO] Processing JavaScript files\r\n[ERROR] Couldn't find preset \"babili\" relative to directory \"/Users/eharris/Documents/Appcelerator_Studio_Workspace/ti.bench\"\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Create an app {{ti create -t app --name babelerror --id com.babel -p all --no-prompt --workspace-dir .}}\r\n2. Build for device/development deploytype {{ti build -p android -T device --build-only}} or {{ti build -p android -T device --build-only}} or {{{{ti build -p android -D development --build-only}} \r\n\r\nh5.Actual\r\n\r\nBuild errors out\r\n\r\nh5.Expected\r\n\r\nBuild should not error out", "attachment": [], "flagged": false, "summary": "CLI: Build errors out with \"Couldn't find preset \"babili\" relative to directory\" when deploy type is test", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Ti SDK: 6.2.0.v20170504105955, 6.1.0.v20170504175418\r\nTi CLI: 5.0.13", "comment": { "comments": [ { "id": "419190", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~cwilliams] not sure whether this is a known? Couldn't find anything in jira", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-05-05T15:27:26.000+0000", "updated": "2017-05-05T15:27:26.000+0000" }, { "id": "419209", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "master/6.2.0: https://github.com/appcelerator/titanium_mobile/pull/9023\r\n6.1.0: https://github.com/appcelerator/titanium_mobile/pull/9024", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2017-05-05T17:44:20.000+0000", "updated": "2017-05-05T17:46:56.000+0000" }, { "id": "419214", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "CR passed. This also should fix the reopening of TIMOB-23490, so [~amukherjee]: Please merge this one first. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-05T17:55:19.000+0000", "updated": "2017-05-05T17:55:19.000+0000" }, { "id": "419236", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Passed FR with this environment:\r\nNode Version: 6.10.1\r\nNPM Version: 3.10.10\r\nMac OS: 10.12.4\r\nAppc CLI: 6.2.0\r\nAppc CLI NPM: 4.2.9\r\nTitanium SDK versions: 6.1.0 and 6.2.0 locally built with PR's 9023 and 9024\r\nXcode 8.3.2\r\n\r\nTested with the demo code in the description, and I was able to build successfully.\r\n[~hansknoechel], [~cwilliams] I was able to merge PR/9024 for 6_1_X. I was not able to merge PR/9023 for master. Please check the PR, and let me know what to do. Once that's resolved, I'll move this ticket out of \"In Review\" status.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-06T00:01:48.000+0000", "updated": "2017-05-06T00:01:48.000+0000" }, { "id": "419248", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fix is seen in these builds:\r\n6.1.0.v20170506074257\r\n6.2.0.v20170506074136\r\nClosing this ticket.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-06T19:59:26.000+0000", "updated": "2017-05-06T19:59:26.000+0000" }, { "id": "419308", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hansknoechel] Merging this PR did not fix the issue for TIMOB-23490. ", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-08T17:20:31.000+0000", "updated": "2017-05-08T17:20:31.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }