{ "id": "109005", "key": "TIMOB-12546", "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": "2013-06-06T00:43:15.000+0000", "created": "2013-02-01T09:49:02.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-sdk3.0.2" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "issuelinks": [ { "id": "29364", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "107217", "key": "TIMOB-12168", "fields": { "summary": "CLI: Fix setup command serialization", "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-20T22:18:08.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": "CLI: Running 'titanium setup -a' , error comes after prompt 'path to ndk', object has no method trim.\r\n\r\nActual:\r\nPath to the Android NDK: (this is needed for building native Titainum Modules for Android) (/home/global_user/Downloads/android-ndk-r8d) \r\n\r\n/usr/lib/node_modules/titanium/node_modules/longjohn/index.js:111\r\n throw e;\r\n ^\r\nTypeError: Object true has no method 'trim'\r\n at exports.run (/usr/lib/node_modules/titanium/lib/commands/setup.js:316:42)\r\n at Array.forEach (native)\r\n at exports.run (/usr/lib/node_modules/titanium/lib/commands/setup.js:315:25)\r\n at prompt.get (/usr/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:317:32)\r\n at async.forEachSeries.iterate (/usr/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25)\r\n at assembler (/usr/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:314:9)\r\n at prompt.get (/usr/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:323:32)\r\n at prompt.getInput (/usr/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:598:5)\r\n at Interface.onLine (/usr/lib/node_modules/titanium/node_modules/prompt/node_modules/read/lib/read.js:110:5)\r\n", "attachment": [], "flagged": false, "summary": "CLI: Running 'titanium setup -a' , error comes after prompt 'path to ndk', object has no method trim.", "creator": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "CLI: 3.0.24\r\nSDK: 3.0.2.v20130131174707\r\nOS : Ubuntu 12.04.1 LTS\r\nstudio version : 3.0.2.201301301757", "comment": { "comments": [ { "id": "256351", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-12168.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-06-06T00:43:15.000+0000", "updated": "2013-06-06T00:43:15.000+0000" }, { "id": "414075", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:18:08.000+0000", "updated": "2017-03-20T22:18:08.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }