Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-768

Alloy app fails to build on window's with error "Alloy compiler failed"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.0.0
    • Fix Version/s: Release 5.0.0
    • Component/s: Titanium
    • Labels:
    • Environment:
    • Severity:
      Blocker
    • Story Points:
      8
    • Sprint:
      2015 Sprint 17 Tooling

      Description

      This is a regression. Builds successfully with 4.1.2, 4.2.0-1 appc CLI. Did not check all the versions of the 4.2.0-X CLI as there are a lot. Went back till 4.2.0-40 & it failed. The build fails with 4.1.3-1 appc CLI as well.

      Created this ticket In Unified CLI project as building with older CLI works fine. Please move to other project if suitable.
      Steps To Reproduce:

      1. Create an alloy project on windows machine. (I used win 8.1 64 bit).
      2. Build the app for windows or android.

      Actual Result:

      1. The alloy compiler fails:

      [DEBUG] Titanium SDK Android directory: C:\ProgramData\Titanium\mobilesdk\win32\4.2.0.v20150812161221\android
      [DEBUG] App ID: com.app.alloy
      [DEBUG] Classname: Alloy
      [INFO]  Executing Alloy compile: cmd /s /c C:\Users\Steve Ballmer\.appcelerator\install\4.1.3-1\package\node_modules\appc-cli-titanium\node_modules\.bin\alloy compile C:\Users\Steve Ballmer\Desktop\alloy\app --config platform=android,version=0,simtype=none,dev
      icefamily=none,deploytype=development,target=emulator
      '"C:\Users\Steve Ballmer\.appcelerator\install\4.1.3-1\package\node_modules\appc-cli-titanium\node_modules\.bin\alloy"' is not recognized as an internal or external command,
      operable program or batch file.
      [ERROR] Alloy compiler failed
      TRACE  | titanium exited with exit code 1
      ERROR  | Error: ti run exited with error code 1
          at ChildProcess.<anonymous> (C:\Users\Steve Ballmer\.appcelerator\install\4.1.3-1\package\node_modules\appc-cli-titanium\plugins\run.js:89:66)
          at ChildProcess.emit (events.js:98:17)
          at Process.ChildProcess._handle.onexit (child_process.js:820:12)
      

      Expected Results:

      1. The alloy app build successfully on windows.

        Attachments

          Activity

            People

            • Assignee:
              fmiao Feon Sua Xin Miao
              Reporter:
              lchoudhary Lokesh Choudhary
              Reviewer:
              Chee Kiat Ng (Inactive)
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code