1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    Mumbai, India
    Posts
    118
    Answers
    11
    Vote Rating
    4
    Sasha172 is on a distinguished road

      0  

    Default Answered: Sencha Command not building production

    Answered: Sencha Command not building production


    Hi,

    I followed you're gettings started guide step by step (triple checked it to make sure). But when I say
    Code:
    mymacbookmacbook:GS me$ sencha app build production
    
    //Result I get :---->
    
    
    [INFO] Deploying your application to /usr/local/tomcat/webapps/GS/build/production
    [INFO] Copied sdk/sencha-touch.js
    [INFO] Copied app.js
    [INFO] Copied resources/css/app.css
    [INFO] Copied resources/images
    [INFO] Copied resources/icons
    [INFO] Copied resources/startup
    [INFO] Resolving your application dependencies (http://localhost:8084/GS/index.html)
    
    
    [ERROR] /bin/sh: /Applications/SenchaSDKTools/bin/phantomjs: No such file or directory
    [ERROR] Failed loading your application from: 'http://localhost:8084/GS/index.html'.

    What should I do ??? Im stumped !!

  2. So I figured it out !! Finally (to be said in an Eddie Murphy voice)

    I wasn't aware of this since the documentation didn't say anything about it (**hint hint) but there's a huge difference in building an app for Sencha on the Mac and on the PC.

    What I did wrong :
    1. I had built the app on the Mac using Sencha Commands "sencha generate app AppName ../Appname"
    2. Finished coding the entire thing.
    3. Created the iOS version
    4. Copied the ENTIRE AppName folder code (with all the files in it) to the PC (so that I could work on the Android version) //this step was causing the error


    What I should have done :
    Steps 1, 2 & 3 stay the same
    4. Create a new app on the PC using Sencha Command
    5. ONLY replace the app.js & app folders from the mac !!!!!


    The json files seem to change and are NOT interchangable

    Anyway, I hope this helps a bunch of people because I have seen 100s of posts all over the internet with the same problem

    Lemme know if anyone needs more help/details of the process

    Cheers
    Sasha

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Answers
    3462
    Vote Rating
    827
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Did you have any previous version of SDK tools installed? You may try uninstalling what you have installed now and reinstalling.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User
    Join Date
    Aug 2011
    Location
    Mumbai, India
    Posts
    118
    Answers
    11
    Vote Rating
    4
    Sasha172 is on a distinguished road

      0  

    Default


    Tried that. I now have a new error.

    Code:
     [INFO] Deploying your application to C:\wamp\www\SenchaSDK\Catalog\build\testing
    
    [INFO] Copied sdk/sencha-touch.js
    [INFO] Copied app.js
    [INFO] Copied resources/css/app.css
    [INFO] Copied resources/images
    [INFO] Copied resources/icons
    [INFO] Copied resources/loading
    [INFO] Copied app/data
    [INFO] Resolving your application dependencies...
    [ERROR] Failed openning: 'file:///C:/wamp/www/SenchaSDK/Catalog/index.html', please verify that the URI is valid
    Im also getting the same error on the Apple Sencha Command & Windows Sencha Command

  5. #4
    Sencha User
    Join Date
    Aug 2011
    Location
    Mumbai, India
    Posts
    118
    Answers
    11
    Vote Rating
    4
    Sasha172 is on a distinguished road

      0  

    Default SOLVED !!!!

    SOLVED !!!!


    So I figured it out !! Finally (to be said in an Eddie Murphy voice)

    I wasn't aware of this since the documentation didn't say anything about it (**hint hint) but there's a huge difference in building an app for Sencha on the Mac and on the PC.

    What I did wrong :
    1. I had built the app on the Mac using Sencha Commands "sencha generate app AppName ../Appname"
    2. Finished coding the entire thing.
    3. Created the iOS version
    4. Copied the ENTIRE AppName folder code (with all the files in it) to the PC (so that I could work on the Android version) //this step was causing the error


    What I should have done :
    Steps 1, 2 & 3 stay the same
    4. Create a new app on the PC using Sencha Command
    5. ONLY replace the app.js & app folders from the mac !!!!!


    The json files seem to change and are NOT interchangable

    Anyway, I hope this helps a bunch of people because I have seen 100s of posts all over the internet with the same problem

    Lemme know if anyone needs more help/details of the process

    Cheers
    Sasha

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..."