Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2315] For Mac osx 10.9 , Titanium studio 3.1.3 with CLI 3.2.1 it is showing these errors.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-12-23T03:48:57.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator CLI, Titanium SDK & CLI
Labelsn/a
Reportervijaysabbineni
AssigneeRitu Agrawal
Created2013-11-27T10:55:39.000+0000
Updated2016-03-08T07:41:19.000+0000

Description

[ERROR] : TypeError: Cannot read property 'plugins' of undefined [ERROR] : at exports.loadPlugins (/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/node_modules/titanium-sdk/lib/titanium.js:280:30) [ERROR] : at exports.validate (/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/cli/commands/build.js:115:5) [ERROR] : at /usr/local/lib/node_modules/titanium/lib/cli.js:500:29 [ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:190:13 [ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25 [ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:187:17 [ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:491:34 [ERROR] : at async.series.cli.run (/usr/local/lib/node_modules/titanium/lib/cli.js:481:6) [ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:486:21 [ERROR] : at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13 [ERROR] : --------------------------------------------- [ERROR] : at exports.execFile (child_process.js:691:9) [ERROR] : at exports.exec (child_process.js:578:18) [ERROR] : at detectLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:53:4) [ERROR] : at setLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:60:3) [ERROR] : at /usr/local/lib/node_modules/titanium/lib/titanium.js:83:3 [ERROR] : at Object. (/usr/local/lib/node_modules/titanium/lib/titanium.js:85:3) [ERROR] : at Module._compile (module.js:456:26) [ERROR] : at Module._extensions..js (module.js:474:10) Usage: titanium build --platform [--build-only] [--force] [--legacy] [--skip-js-minify] [--project-dir ] [--sdk ] [--log-level ] Builds an existing app or module project. Android Build Options: -L, --alias the alias for the keystore -A, --android-sdk the path to the Android SDK -B, --avd-abi the abi for the avd -I, --avd-id the id for the avd -S, --avd-skin the skin for the avd [default: HVGA] -K, --keystore the location of the keystore file -O, --output-dir the output directory when using dist-playstore -P, --password the password for the keystore -T, --target the target to build for [emulator, device, dist-playstore] blackberry Build Options: -D, --debug-token the path to the debug token bar file -A, --ip-address
the internet address of the simulator or device -K, --keystore-password the password given while registering the application signing keys -N, --ndk the path to the BlackBerry Native Development SDK -O, --output-dir the path containing the signed bar file -P, --password the password used on the simulator or device -T, --target the target to build for, [simulator, device, distribute] Mobile Web Build Options: -D, --deploy-type the type of deployment; production performs optimizations [production, development] Tizen Build Flags: --debug debug Tizen application [default: false] Tizen Build Options: -D, --deploy-type the type of deployment; production performs optimizations [production, development] -E, --device the id for the Tizen device or emulator -K, --keystore the location of the certificate file -C, --keystoreca author certificate authority path -P, --password the password for the keystore -R, --rootca root certificate authority path, optional Build Flags: -b, --build-only only perform the build; if true, does not install or run the app -f, --force force a full rebuild --legacy build using the old Python-based builder.py --skip-js-minify bypasses JavaScript minification; simulator builds are never minified; only supported for Android and iOS [default: false] Build Options: --log-level minimum logging level [trace, debug, info, warn, error] -p, --platform the target build platform [android, blackberry, ios, mobileweb, tizen] -d, --project-dir the directory containing the project, otherwise the current working directory -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 Global Flags: --banner, --no-banner displays Titanium version banner [default: true] --colors, --no-colors use colors in the terminal [default: true] -h, --help displays help --prompt, --no-prompt prompt for missing options [default: true] -q, --quiet suppress all output [default: false] -v, --version displays the current version

Comments

  1. Mauro Parra-Miranda 2013-12-03

    Hi Vijay, You 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. Regards,
  2. Ritu Agrawal 2013-12-23

    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.
  3. Shak Hossain 2013-12-30

    Closing this since the reporter never got back to us with any further updates.

JSON Source