{ "id": "117960", "key": "TIMOB-14756", "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": "15576", "description": "2013 Sprint 16", "name": "2013 Sprint 16", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "15577", "description": "2013 Sprint 16 Core", "name": "2013 Sprint 16 Core", "archived": true, "released": true, "releaseDate": "2013-08-12" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-09-26T20:54:45.000+0000", "created": "2013-08-02T22:03:42.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.1.2", "qe-nfc" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [ { "id": "31652", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "119624", "key": "TIMOB-15071", "fields": { "summary": "CLI: Unable to run command \"plugin\"", "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": "2017-03-20T16:37:40.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": "Description:\r\n1. Install CLI version 3.1.2-alpha\r\n2. Run command 'ti plugin' or 'titanium plugin'\r\n3. Observe the output\r\n\r\nActual Result:\r\n1. We get the following errors:\r\n{code}\r\n\r\nLChoudharyMBP:~ lokeshchoudhary$ titanium plugin\r\n[ERROR] Unable to run command \"plugin\"\r\n\r\nTypeError: Arguments to path.join must be strings 0 [ 'TypeError: Arguments to path.join must be strings',\r\n ' at path.js:360:15',\r\n ' at Array.filter (native)',\r\n ' at exports.join (path.js:358:36)',\r\n ' at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',\r\n ' at Array.forEach (native)',\r\n ' at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',\r\n ' at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',\r\n ' at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]\r\n at path.js:360:15 1 [ 'TypeError: Arguments to path.join must be strings',\r\n ' at path.js:360:15',\r\n ' at Array.filter (native)',\r\n ' at exports.join (path.js:358:36)',\r\n ' at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',\r\n ' at Array.forEach (native)',\r\n ' at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',\r\n ' at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',\r\n ' at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]\r\n at Array.filter (native) 2 [ 'TypeError: Arguments to path.join must be strings',\r\n ' at path.js:360:15',\r\n ' at Array.filter (native)',\r\n ' at exports.join (path.js:358:36)',\r\n ' at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',\r\n ' at Array.forEach (native)',\r\n ' at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',\r\n ' at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',\r\n ' at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]\r\n at exports.join (path.js:358:36) 3 [ 'TypeError: Arguments to path.join must be strings',\r\n ' at path.js:360:15',\r\n ' at Array.filter (native)',\r\n ' at exports.join (path.js:358:36)',\r\n ' at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',\r\n ' at Array.forEach (native)',\r\n ' at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',\r\n ' at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',\r\n ' at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]\r\n at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23) 4 [ 'TypeError: Arguments to path.join must be strings',\r\n ' at path.js:360:15',\r\n ' at Array.filter (native)',\r\n ' at exports.join (path.js:358:36)',\r\n ' at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',\r\n ' at Array.forEach (native)',\r\n ' at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',\r\n ' at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',\r\n ' at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25 5 [ 'TypeError: Arguments to path.join must be strings',\r\n ' at path.js:360:15',\r\n ' at Array.filter (native)',\r\n ' at exports.join (path.js:358:36)',\r\n ' at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',\r\n ' at Array.forEach (native)',\r\n ' at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',\r\n ' at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',\r\n ' at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13 6 [ 'TypeError: Arguments to path.join must be strings',\r\n ' at path.js:360:15',\r\n ' at Array.filter (native)',\r\n ' at exports.join (path.js:358:36)',\r\n ' at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',\r\n ' at Array.forEach (native)',\r\n ' at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',\r\n ' at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',\r\n ' at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]\r\n at Array.forEach (native) 7 [ 'TypeError: Arguments to path.join must be strings',\r\n ' at path.js:360:15',\r\n ' at Array.filter (native)',\r\n ' at exports.join (path.js:358:36)',\r\n ' at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',\r\n ' at Array.forEach (native)',\r\n ' at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',\r\n ' at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',\r\n ' at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]\r\n at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24) 8 [ 'TypeError: Arguments to path.join must be strings',\r\n ' at path.js:360:15',\r\n ' at Array.filter (native)',\r\n ' at exports.join (path.js:358:36)',\r\n ' at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',\r\n ' at Array.forEach (native)',\r\n ' at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',\r\n ' at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',\r\n ' at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]\r\n at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9) 9 [ 'TypeError: Arguments to path.join must be strings',\r\n ' at path.js:360:15',\r\n ' at Array.filter (native)',\r\n ' at exports.join (path.js:358:36)',\r\n ' at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',\r\n ' at Array.forEach (native)',\r\n ' at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',\r\n ' at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',\r\n ' at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]\r\n at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19) 10 [ 'TypeError: Arguments to path.join must be strings',\r\n ' at path.js:360:15',\r\n ' at Array.filter (native)',\r\n ' at exports.join (path.js:358:36)',\r\n ' at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',\r\n ' at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',\r\n ' at Array.forEach (native)',\r\n ' at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',\r\n ' at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',\r\n ' at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]\r\n{code}\r\n\r\nExpected Result:\r\n1. The command should list the appropriate plugin list\r\n", "attachment": [], "flagged": false, "summary": "CLI : Command 'ti plugin' or 'titanium plugin' throws errors", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nTi Studio : 3.1.2.201307311816\r\nTi SDK : 3.1.2.v20130801190110\r\nMac OSX : 10.8.4\r\nwin7 64 bit\r\nAlloy : 1.2.0-alpha3\r\nCLI - 3.1.2-alpha", "comment": { "comments": [ { "id": "264845", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "https://github.com/appcelerator/titanium/pull/50\nhttps://github.com/appcelerator/node-appc/pull/50\n", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-02T23:15:00.000+0000", "updated": "2013-08-02T23:15:00.000+0000" }, { "id": "264846", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, run \"ti plugin\" when you are in a project directory and when you are NOT in a project directory.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-02T23:15:31.000+0000", "updated": "2013-08-02T23:15:31.000+0000" }, { "id": "270101", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This still occurs with CLI 3.1.2.GA.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-06T22:18:12.000+0000", "updated": "2013-09-06T22:18:12.000+0000" }, { "id": "273041", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Unable to reproduce with Titanium CLI 3.2.0. Titanium CLI 3.1.x has known issues, but 3.1.x isn't going to be fixed at this point.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-09-26T20:54:45.000+0000", "updated": "2013-09-26T20:54:45.000+0000" }, { "id": "413691", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T16:37:40.000+0000", "updated": "2017-03-20T16:37:40.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }