{ "id": "104087", "key": "TIMOB-11624", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14170", "description": "2012 Sprint 22 JS", "name": "2012 Sprint 22 JS", "archived": true, "released": true, "releaseDate": "2012-11-05" }, { "id": "14274", "description": "2012 Sprint 22", "name": "2012 Sprint 22", "archived": true, "released": true, "releaseDate": "2012-11-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-12T20:55:18.000+0000", "created": "2012-10-30T11:16:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "CLI", "qe-manualtest" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-08-12T20:55:48.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": "{code}\r\n>$ titanium help\r\n\r\n/usr/local/lib/node_modules/titanium/lib/titanium.js:123\r\n\tconfig.paths.sdks.forEach(env.scanSdkPath);\r\n\t ^\r\nTypeError: Cannot call method 'forEach' of undefined\r\n at run (/usr/local/lib/node_modules/titanium/lib/titanium.js:123:20)\r\n at /usr/local/lib/node_modules/titanium/lib/titanium.js:66:4\r\n at Object. (/usr/local/lib/node_modules/titanium/lib/titanium.js:71:3)\r\n at Module.Module._compile [as _compile] (module.js:449:26)\r\n at Object.Module._extensions..js [as .js] (module.js:467:10)\r\n at Module.Module.load [as load] (module.js:356:32)\r\n at Function.Module._load [as _load] (module.js:312:12)\r\n at Module.Module.require [as require] (module.js:362:17)\r\n at require (module.js:378:17)\r\n at Object. (/usr/local/lib/node_modules/titanium/bin/titanium:4:1)\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: Cannot call method 'forEach' of undefined", "creator": { "name": "babelfisch", "key": "babelfisch", "displayName": "Mario", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "babelfisch", "key": "babelfisch", "displayName": "Mario", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Mac OS X 10.8.2", "comment": { "comments": [ { "id": "225688", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This was fixed in this commit: https://github.com/appcelerator/titanium/commit/bb39599206cf4fb28bf902a66282cb80163716a1.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-31T17:09:16.000+0000", "updated": "2012-10-31T17:09:16.000+0000" }, { "id": "234530", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Running \"titanium help\" command, help menu is shown as expected with no error.\r\n\r\nTested on :\r\nSDK version: 3.0.1.v20130111165328 , 3.0.0.GA\r\nCLI version : 3.0.22\r\nOS : MAC OSX 10.7.5, Mac OS X 10.8.2\r\nXCode : 4.5.1", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-01-16T02:18:19.000+0000", "updated": "2013-01-16T02:18:19.000+0000" }, { "id": "318285", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "reopened to fix labels\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-12T20:53:56.000+0000", "updated": "2014-08-12T20:53:56.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }