1. #1
    Sencha Premium Member
    Join Date
    Aug 2013
    Posts
    12
    Vote Rating
    0
    shopeel is on a distinguished road

      0  

    Default Unanswered: How to set environment variables for cmd build tasks in Architect 3?

    Unanswered: How to set environment variables for cmd build tasks in Architect 3?


    I'm working in a new Architect 3 project with Phonegap enabled via Sencha Cmd 4 (sencha phonegap init). The app builds and simulates fine from the command line (sencha app build -run native), but in Architect I get this error when I run the "simulate iOS app" build target:
    Code:
    [INF] -phonegap-local-run: [INF] [shellscript] env: node: No such file or directory [ERR] The following error occurred while executing this line: /path/to/.sencha/app/build-impl.xml:422: The following error occurred while executing this line: /path/to/.sencha/app/phonegap-impl.xml:107: The following error occurred while executing this line: /path/to/.sencha/app/phonegap-impl.xml:143: The following error occurred while executing this line: jar:file:/path/to/Sencha/Cmd/4.0.1.45/sencha.jar!/com/sencha/ant/antlib.xml:608: shellscript returned: 127
    Clearly I just need to tell Cmd where to find my node… but this is where I'm not sure how to proceed. I tried adding the following task to build.xml to no prevail:
    Code:
    <target name="-before-init"> <x-shell> export PATH=/usr/local/bin:/usr/local/share/npm/bin:$PATH </x-shell> </target>
    Any ideas? Has anyone else experienced this issue?

  2. #2
    Sencha User
    Join Date
    Oct 2013
    Posts
    4
    Vote Rating
    0
    jthunnissen is on a distinguished road

      0  

    Default


    Did you manage to solve this problem? (I am having the same error message executing
    sencha phonegap init
    )

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2014
    Posts
    45
    Answers
    2
    Vote Rating
    -1
    2amcode can only hope to improve

      0  

    Default


    same problem here, did you solve it?

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi