Titanium JIRA Archive
Appcelerator Community (AC)

[AC-640] Alloy Build Fails with ENOENT

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2016-02-24T14:07:49.000+0000
Affected Version/sAppcelerator Studio 4.4.0
Fix Version/sn/a
ComponentsAppcelerator CLI, Studio
Labels4.4, alloy, cli, studio4
ReporterGareth Arch
AssigneeMostafizur Rahman
Created2016-02-20T15:16:57.000+0000
Updated2016-02-24T14:07:49.000+0000

Description

When trying to do a brand new Alloy project using the template and changing no values, I get an error in the build process and [ERROR] Application Installer abnormal process termination. Process exit value was 1. I've been trying to track down what the issue is, but have not been successful. I managed to successfully build a Titanium project via Studio, but Alloy has failed for me each time I tried. I also tried creating another brand new Alloy project in case there was something strange with the first setup, but still no luck. I have attached the build error I was receiving.

Attachments

FileDateSize
AlloyError.txt2016-02-20T15:11:55.000+000011980

Comments

  1. Rakhi Mitro 2016-02-21

    Hello, I tried to reproduce the issue but I wasn't able to reproduce the issue. Although the issue occur occasionally in my case. I recommend you to try the following steps as a administrative user: *Steps to do:* 1.Make sure you have the latest Appc CLI from NPM: *npm install -g appcelerator* 2.Uninstall alloy :
       
        npm uninstall -g alloy
       
    3. Install alloy again using the following command:
       npm install -g alloy
       
    4. Cache clean from NPM: *npm cache clean* 5.Create new alloy project and run again *Test Environments:* Appcelerator Command-Line Interface, version 5.1.0 Titanium SDK Version:5.1.2GA Appc Studio: Appcelerator Studio, build: 4.5.0.201602100611 Mac OS X,Version = OSX EI Capitan 10.11.1
  2. Gareth Arch 2016-02-21

    I did the appcelerator install, but the newest version that's available is 4.2.3-2. I don't see a 5.1.0 version. Is that correct? Hmmm...I checked npm and it is 4.2.3-2, but at appcelerator.com it is 5.2.0-265 Why the difference there?
  3. Gareth Arch 2016-02-21

    Oh, I think I see now...5.2.0-265 is the combination of all of the tools, but 4.2.3-2 is still that latest version of the the appcelerator CLI, right?
  4. Gareth Arch 2016-02-21

    No, that did not work for me. Even my appcelerator studio is only 4.4 (Because I'm on Windows I'm guessing?)
  5. Jebun Naher 2016-02-24

    Hello, There are updates available for Appcelerator CLI 5.2.0, Titanium SDK 5.2.0 and Appcelerator Studio 4.5.0. Please update your environment and try to build again. Let us know the result. Please follow the link below to update the environment. http://www.appcelerator.com/blog/2016/02/ga-release-of-cli-5-2-titanium-5-2-and-studio-4-5/ Thanks.
  6. Motiur Rahman 2016-02-24

    Hi, ​Just try this following command respectively - appc config set proxyServer null - npm install -g appcelerator - appc use latest - npm install -g alloy - appc setup - appc login Then open the studio. Hope this helps.

JSON Source