{ "id": "122984", "key": "AC-2315", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-12-23T03:48:57.000+0000", "created": "2013-11-27T10:55:39.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:19.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": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "[ERROR] : TypeError: Cannot read property 'plugins' of undefined\r\n[ERROR] : at exports.loadPlugins (/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/node_modules/titanium-sdk/lib/titanium.js:280:30)\r\n[ERROR] : at exports.validate (/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/cli/commands/build.js:115:5)\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/lib/cli.js:500:29\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:190:13\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:187:17\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:491:34\r\n[ERROR] : at async.series.cli.run (/usr/local/lib/node_modules/titanium/lib/cli.js:481:6)\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:486:21\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13\r\n[ERROR] : ---------------------------------------------\r\n[ERROR] : at exports.execFile (child_process.js:691:9)\r\n[ERROR] : at exports.exec (child_process.js:578:18)\r\n[ERROR] : at detectLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:53:4)\r\n[ERROR] : at setLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:60:3)\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/lib/titanium.js:83:3\r\n[ERROR] : at Object. (/usr/local/lib/node_modules/titanium/lib/titanium.js:85:3)\r\n[ERROR] : at Module._compile (module.js:456:26)\r\n[ERROR] : at Module._extensions..js (module.js:474:10)\r\nUsage: titanium build --platform [--build-only] [--force] [--legacy] [--skip-js-minify] [--project-dir ] [--sdk ] [--log-level ]\r\nBuilds an existing app or module project.\r\nAndroid Build Options:\r\n -L, --alias the alias for the keystore \r\n -A, --android-sdk the path to the Android SDK \r\n -B, --avd-abi the abi for the avd \r\n -I, --avd-id the id for the avd \r\n -S, --avd-skin the skin for the avd [default: HVGA]\r\n -K, --keystore the location of the keystore file \r\n -O, --output-dir the output directory when using dist-playstore \r\n -P, --password the password for the keystore \r\n -T, --target the target to build for [emulator, device, dist-playstore]\r\nblackberry Build Options:\r\n -D, --debug-token the path to the debug token bar file \r\n -A, --ip-address
the internet address of the simulator or device \r\n -K, --keystore-password the password given while registering the application signing keys \r\n -N, --ndk the path to the BlackBerry Native Development SDK \r\n -O, --output-dir the path containing the signed bar file \r\n -P, --password the password used on the simulator or device \r\n -T, --target the target to build for, [simulator, device, distribute]\r\nMobile Web Build Options:\r\n -D, --deploy-type the type of deployment; production performs optimizations [production, development]\r\nTizen Build Flags:\r\n --debug debug Tizen application [default: false]\r\nTizen Build Options:\r\n -D, --deploy-type the type of deployment; production performs optimizations [production, development]\r\n -E, --device the id for the Tizen device or emulator \r\n -K, --keystore the location of the certificate file \r\n -C, --keystoreca author certificate authority path \r\n -P, --password the password for the keystore \r\n -R, --rootca root certificate authority path, optional \r\nBuild Flags:\r\n -b, --build-only only perform the build; if true, does not install or run the app \r\n -f, --force force a full rebuild \r\n --legacy build using the old Python-based builder.py \r\n --skip-js-minify bypasses JavaScript minification; simulator builds are never minified; only supported for Android and iOS [default: false]\r\nBuild Options:\r\n --log-level minimum logging level [trace, debug, info, warn, error]\r\n -p, --platform the target build platform [android, blackberry, ios, mobileweb, tizen]\r\n -d, --project-dir the directory containing the project, otherwise the current working directory \r\n -s, --sdk Titanium SDK version to use to bootstrap SDK-level commands and parse the tiapp.xml; actual Titanium SDK used determined by in the tiapp.xml \r\nGlobal Flags:\r\n --banner, --no-banner displays Titanium version banner [default: true]\r\n --colors, --no-colors use colors in the terminal [default: true]\r\n -h, --help displays help \r\n --prompt, --no-prompt prompt for missing options [default: true]\r\n -q, --quiet suppress all output [default: false]\r\n -v, --version displays the current version ", "attachment": [], "flagged": false, "summary": "For Mac osx 10.9 , Titanium studio 3.1.3 with CLI 3.2.1 it is showing these errors.", "creator": { "name": "vijay@srisys.com", "key": "vijay@srisys.com", "displayName": "vijaysabbineni", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vijay@srisys.com", "key": "vijay@srisys.com", "displayName": "vijaysabbineni", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "[ERROR] : TypeError: Cannot read property 'plugins' of undefined\r\n[ERROR] : at exports.loadPlugins (/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/node_modules/titanium-sdk/lib/titanium.js:280:30)\r\n[ERROR] : at exports.validate (/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/cli/commands/build.js:115:5)\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/lib/cli.js:500:29\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:190:13\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:187:17\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:491:34\r\n[ERROR] : at async.series.cli.run (/usr/local/lib/node_modules/titanium/lib/cli.js:481:6)\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:486:21\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13\r\n[ERROR] : ---------------------------------------------\r\n[ERROR] : at exports.execFile (child_process.js:691:9)\r\n[ERROR] : at exports.exec (child_process.js:578:18)\r\n[ERROR] : at detectLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:53:4)\r\n[ERROR] : at setLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:60:3)\r\n[ERROR] : at /usr/local/lib/node_modules/titanium/lib/titanium.js:83:3\r\n[ERROR] : at Object. (/usr/local/lib/node_modules/titanium/lib/titanium.js:85:3)\r\n[ERROR] : at Module._compile (module.js:456:26)\r\n[ERROR] : at Module._extensions..js (module.js:474:10)\r\nUsage: titanium build --platform [--build-only] [--force] [--legacy] [--skip-js-minify] [--project-dir ] [--sdk ] [--log-level ]\r\nBuilds an existing app or module project.\r\nAndroid Build Options:\r\n -L, --alias the alias for the keystore \r\n -A, --android-sdk the path to the Android SDK \r\n -B, --avd-abi the abi for the avd \r\n -I, --avd-id the id for the avd \r\n -S, --avd-skin the skin for the avd [default: HVGA]\r\n -K, --keystore the location of the keystore file \r\n -O, --output-dir the output directory when using dist-playstore \r\n -P, --password the password for the keystore \r\n -T, --target the target to build for [emulator, device, dist-playstore]\r\nblackberry Build Options:\r\n -D, --debug-token the path to the debug token bar file \r\n -A, --ip-address
the internet address of the simulator or device \r\n -K, --keystore-password the password given while registering the application signing keys \r\n -N, --ndk the path to the BlackBerry Native Development SDK \r\n -O, --output-dir the path containing the signed bar file \r\n -P, --password the password used on the simulator or device \r\n -T, --target the target to build for, [simulator, device, distribute]\r\nMobile Web Build Options:\r\n -D, --deploy-type the type of deployment; production performs optimizations [production, development]\r\nTizen Build Flags:\r\n --debug debug Tizen application [default: false]\r\nTizen Build Options:\r\n -D, --deploy-type the type of deployment; production performs optimizations [production, development]\r\n -E, --device the id for the Tizen device or emulator \r\n -K, --keystore the location of the certificate file \r\n -C, --keystoreca author certificate authority path \r\n -P, --password the password for the keystore \r\n -R, --rootca root certificate authority path, optional \r\nBuild Flags:\r\n -b, --build-only only perform the build; if true, does not install or run the app \r\n -f, --force force a full rebuild \r\n --legacy build using the old Python-based builder.py \r\n --skip-js-minify bypasses JavaScript minification; simulator builds are never minified; only supported for Android and iOS [default: false]\r\nBuild Options:\r\n --log-level minimum logging level [trace, debug, info, warn, error]\r\n -p, --platform the target build platform [android, blackberry, ios, mobileweb, tizen]\r\n -d, --project-dir the directory containing the project, otherwise the current working directory \r\n -s, --sdk Titanium SDK version to use to bootstrap SDK-level commands and parse the tiapp.xml; actual Titanium SDK used determined by in the tiapp.xml \r\nGlobal Flags:\r\n --banner, --no-banner displays Titanium version banner [default: true]\r\n --colors, --no-colors use colors in the terminal [default: true]\r\n -h, --help displays help \r\n --prompt, --no-prompt prompt for missing options [default: true]\r\n -q, --quiet suppress all output [default: false]\r\n -v, --version displays the current version ", "comment": { "comments": [ { "id": "282263", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hi Vijay,\r\n\r\nYou filed a \"new feature\" request. However, we are not clear about the specification of your need. Did you get this error after you upgrade to latest version of the SDK, Studio/CLI? Was your system working prior to update? Please let us know the details of your steps so that we can try to reproduce it.\r\n\r\nRegards,", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-03T23:37:56.000+0000", "updated": "2013-12-06T19:40:14.000+0000" }, { "id": "285614", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We do not support CLI 3.2.0 with Studio 3.1.3. Please refer to [Support Matrix |http://docs.appcelerator.com/titanium/release-notes/?version=3.2.0.GA#support_matrix] for the supported configurations. We would strongly recommend you to upgrade to Studio 3.2.0 + CLI 3.2.0 + SDK 3.2.0 + Alloy 1.3.0 and let us know if the issue persists.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-23T03:48:30.000+0000", "updated": "2013-12-23T03:48:30.000+0000" }, { "id": "286292", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this since the reporter never got back to us with any further updates.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-30T19:45:08.000+0000", "updated": "2013-12-30T19:45:08.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }