{ "id": "150291", "key": "TIMOB-19340", "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-08-14T23:57:42.000+0000", "created": "2015-08-10T18:59:25.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.0.0" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [ { "id": "48677", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "149931", "key": "TISTUD-7652", "fields": { "summary": "If you Refresh Devices, a NullPointerException is thrown", "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 } } } }, { "id": "48676", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "150365", "key": "CLI-770", "fields": { "summary": "ti --platforms can't take in more than 1 value", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-08-24T05:07:21.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": "10207", "name": "Tooling" } ], "description": "When trying to create a project with the below command I get the error in the *Notes* section: {{Invalid \"--platforms\" value \"android,ios,mobileweb\"}}\r\n{code}\r\n\"/usr/local/bin/appcelerator\" \"new\" \"--platforms\" \"android,ios,mobileweb\" \"--sdk\" \"4.2.0.v20150807112024\" \"--force\" \"--no-services\"\r\n{code}\r\n\r\n*Steps to reproduce issue*\r\n1. Set your active SDK to 4.2.0.v20150805163626 or later (I used 4.2.0.v20150807112024)\r\n2. Run {{appc new --platforms \"android,ios,mobileweb\"}}\r\n3. Create a Native App\r\n\r\n*Actual Results*\r\nThe creation will fail with the below error\r\n\r\n*Expected Results*\r\nI can create projects without error\r\n\r\n*Notes*\r\nThis blocks projects from being created in Studio.\r\nI encounter this with SDKs 4.2.0.v20150805163626 and later.\r\n{code}\r\n/usr/local/bin/node [ '/Users/ewieber/.appcelerator/install/4.2.0-24/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium',\r\n 'create',\r\n '-t',\r\n 'app',\r\n '--no-banner',\r\n '--no-prompt',\r\n '--platforms',\r\n 'android,ios,mobileweb',\r\n '--workspace-dir',\r\n '/Users/ewieber/Documents/Appcelerator_Studio_Workspace',\r\n '--force',\r\n true,\r\n '--log-level',\r\n 'trace',\r\n '--name',\r\n 'createTest',\r\n '--id',\r\n 'com.appc.createtest',\r\n '--project-dir',\r\n '/Users/ewieber/Documents/Appcelerator_Studio_Workspace/createTest',\r\n '--url',\r\n 'unspecified' ]\r\nInvalid \"--platforms\" value \"android,ios,mobileweb\"\r\n\r\ndone with plugin [Error: titanium exited with non-zero exit code (1)]\r\nERROR | Error: titanium exited with non-zero exit code (1)\r\n at ChildProcess. (/Users/ewieber/.appcelerator/install/4.2.0-24/package/node_modules/appc-cli-titanium/plugins/new.js:191:21)\r\n at ChildProcess.emit (events.js:98:17)\r\n at Process.ChildProcess._handle.onexit (child_process.js:820:12)\r\n appc:run signal received +35s exit sending to { domain: null,\r\n _events: { close: [Function] },\r\n _maxListeners: 10,\r\n _closesNeeded: 1,\r\n _closesGot: 1,\r\n connected: false,\r\n signalCode: null,\r\n exitCode: 1,\r\n killed: false,\r\n _handle: null,\r\n pid: 27841,\r\n stdin: null,\r\n stdout: null,\r\n stderr: null,\r\n stdio: [ null, null, null ] }\r\n{code}", "attachment": [ { "id": "56385", "filename": "Screen Shot 2015-08-10 at 10.15.21 AM.png", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-10T18:58:31.000+0000", "size": 147505, "mimeType": "image/png" } ], "flagged": false, "summary": "Cannot create projects; invalid --platforms value", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "MacOS 10.11\r\nStudio 4.2.0.201508062204\r\nTi SDK 4.2.0.v20150807112024\r\nAppc NPM 4.2.0-1\r\nAppc CLI 4.2.0-24\r\nTi CLI 4.1.4\r\nAlloy 1.6.2\r\nNode v0.10.37\r\nJava 1.7.0_45\r\npreproduction\r\n", "closedSprints": [ { "id": 478, "state": "closed", "name": "2015 Sprint 17 Tooling", "startDate": "2015-08-17T16:09:49.717Z", "endDate": "2015-08-29T01:09:00.000Z", "completeDate": "2015-09-10T19:57:06.855Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "359954", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/titanium/pull/231", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-08-14T23:01:46.000+0000", "updated": "2015-08-14T23:01:46.000+0000" }, { "id": "359963", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7027", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-08-14T23:57:35.000+0000", "updated": "2015-08-14T23:57:35.000+0000" }, { "id": "360851", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can create project successfully for multiple platforms.\r\nVerified on: \r\nMac OS 10.10.4 \r\nAppc Studio: 5.0.0.201508181557 \r\nTi SDK: 5.0.0.v20150823190425 \r\nAppc CLI NPM: 4.2.0-1 \r\nAppc CLI Core: 5.0.0-12 \r\nNode: 0.10.37 \r\nXcode 7b5", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-24T05:07:21.000+0000", "updated": "2015-08-24T05:07:21.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }