Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-14733

Tizen : Alloy compile fails & errors out when trying to build tizen alloy app in studio

    Details

      Description

      NOTE: This issue is seen with 1.2.0-alpha, using alloy 1.1.3-cr works fine.

      Description:
      1. Create an alloy app for tizen (or use the default alloy apps from templates)
      2. Build & run on tizen device/simulator
      3. Observe the studio logs

      Actual Results:
      1. The builds process errors out with the following errors:

       
      Titanium Command-Line Interface, CLI version 3.1.1, Titanium SDK version 3.1.2.v20130730133101
      Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.
      Please report bugs to http://jira.appcelerator.org/
      [INFO] :   Compiling "development" build
      [INFO] :   Reading Titanium Mobile Web package.json file
      [INFO] :   Target device Id:  "4df1d7e641a19f00" 
      [INFO] :   Processing tizen section of tiapp.xml
      [INFO] :   <tizen> node. tizen app id: clwlrPQSH1
      [INFO] :   tiapp.xml does not contains <tizen> node. Using default values
      [INFO] :   Validating theme
      [INFO] :   Found Alloy app in /Users/lokeshchoudhary/Desktop/tizen_workspace/tizalloy2tab/app
      [INFO] :   Executing Alloy compile: /usr/local/bin/node /usr/local/bin/alloy compile /Users/lokeshchoudhary/Desktop/tizen_workspace/tizalloy2tab/app --config platform=tizen,version=0,simtype=none,devicefamily=none,deploytype=development
      [ERROR] :  /usr/local/lib/node_modules/alloy/Alloy/commands/compile/index.js:125
      [ERROR] :  			platform: platforms[buildPlatform].titaniumFolder
      [ERROR] :  			       
      [ERROR] :                             ^
      [ERROR] :  TypeError: Cannot read property 'titaniumFolder' of undefined
      [ERROR] :      at module.exports (/usr/local/lib/node_modules/alloy/Alloy/commands/compile/index.js:125:38)
      [ERROR] :      at Object.<anonymous> (/usr/local/lib/node_modules/alloy/Alloy/alloy.js:91:46)
      [ERROR] :      at Module._compile (module.js:456:26)
      [ERROR] :      at Object.Module._extensions..js (module.js:474:10)
      [ERROR] :      at Module.load (module.js:356:32)
      [ERROR] :      at Function.Module._load (module.js:312:12)
      [ERROR] :      at Module.require (module.js:364:17)
      [ERROR] :      at require (module.js:380:17)
      [ERROR] :      at Object.<anonymous> (/usr/local/lib/node_modules/alloy/bin/alloy:3:1)
      [ERROR] :      at Module._compile (module.js:456:26)
      [ERROR] :      at Object.Module._extensions..js (module.js:474:10)
      [ERROR] :      at Module.load (module.js:356:32)
      [ERROR] :      at Function.Module._load (module.js:312:12)
      [ERROR] :      at Function.Module.runMain (module.js:497:10)
      [ERROR] :      at startup (node.js:119:16)
      [ERROR] :      at node.js:901:3
      [ERROR] :  Alloy compiler failed
      

      Expected Results:
      1. The build should be successful

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tlukasavage Tony Lukasavage
                Reporter:
                lokeshchdhry Lokesh Choudhary (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-17124
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration