Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Unable to run a project

$
0
0

Everything was working fine in titanium and suddenly it started giving the following error. Can someone please help? Titanium is installed on Ubuntu 64-bit system.

Titanium Command-Line Interface, CLI version 3.1.2, Titanium SDK version 3.1.3.GA
Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
[ERROR] :  TypeError: Cannot read property '0' of undefined
[ERROR] :      at exports.validate (/home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/android/cli/commands/_build.js:296:70)
[ERROR] :      at exports.validatePlatformOptions (/home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/titanium-sdk/lib/titanium.js:443:51)
[ERROR] :      at exports.validate (/home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/cli/commands/build.js:112:9)
[ERROR] :      at /usr/lib/node_modules/titanium/lib/cli.js:500:29
[ERROR] :      at /usr/lib/node_modules/titanium/node_modules/async/lib/async.js:190:13
[ERROR] :      at /usr/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25
[ERROR] :      at /usr/lib/node_modules/titanium/node_modules/async/lib/async.js:187:17
[ERROR] :      at /usr/lib/node_modules/titanium/node_modules/async/lib/async.js:491:34
[ERROR] :      at async.series.cli.run (/usr/lib/node_modules/titanium/lib/cli.js:481:6)
[ERROR] :      at /usr/lib/node_modules/titanium/node_modules/async/lib/async.js:486:21
[ERROR] :  ---------------------------------------------
[ERROR] :      at exports.execFile (child_process.js:691:9)
[ERROR] :      at exports.exec (child_process.js:578:18)
[ERROR] :      at async.series.cached (/home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/node-appc/lib/android.js:86:4)
[ERROR] :      at /home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/async/lib/async.js:486:21
[ERROR] :      at /home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/async/lib/async.js:185:13
[ERROR] :      at iterate (/home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/async/lib/async.js:108:13)
[ERROR] :      at /home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/async/lib/async.js:119:25
[ERROR] :      at /home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/async/lib/async.js:187:17
Usage: titanium build --platform <platform> [--build-only] [--force] [--legacy] [--skip-js-minify] [--project-dir <value>] [--sdk <value>] [--log-level <level>]
Builds an existing app or module project.
Android Build Options:
   -L, --alias <alias>        the alias for the keystore 
   -A, --android-sdk <path>   the path to the Android SDK  [default: /home/inscripts/applications/android-sdk-linux]
   -B, --avd-abi <value>      the abi for the avd 
   -I, --avd-id <id>          the id for the avd 
   -S, --avd-skin <skin>      the skin for the avd  [default: HVGA]
   -K, --keystore <path>      the location of the keystore file 
   -O, --output-dir <dir>     the output directory when using dist-playstore 
   -P, --password <alias>     the password for the keystore 
   -T, --target <value>       the target to build for  [emulator, device, dist-playstore]
blackberry Build Options:
   -D, --debug-token <path>          the path to the debug token bar file 
   -A, --ip-address <address>        the internet address of the simulator or device 
   -K, --keystore-password <value>   the password given while registering the application signing keys 
   -N, --ndk <path>                  the path to the BlackBerry Native Development SDK 
   -O, --output-dir <path>           the path containing the signed bar file 
   -P, --password <value>            the password used on the simulator or device 
   -T, --target <value>              the target to build for,  [simulator, device, distribute]
Mobile Web Build Options:
   -D, --deploy-type <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 <type>   the type of deployment; production performs optimizations  [production, development]
   -E, --device <device id>   the id for the Tizen device or emulator 
   -K, --keystore <path>      the location of the certificate file 
   -C, --keystoreca <value>   author certificate authority path 
   -P, --password <value>     the password for the keystore 
   -R, --rootca <value>       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 <level>         minimum logging level  [trace, debug, info, warn, error]
   -p, --platform <platform>   the target build platform  [android, blackberry, mobileweb, tizen]
   -d, --project-dir <value>   the directory containing the project, otherwise the current working directory 
   -s, --sdk <value>           Titanium SDK version to use to bootstrap SDK-level commands and parse the tiapp.xml; actual Titanium SDK used determined by <sdk-version> 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

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>