Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    7
    Vote Rating
    0
    boniek is on a distinguished road

      0  

    Default Unable to build fresh app with Sencha Touch 2.1.

    Unable to build fresh app with Sencha Touch 2.1.


    Hi
    today I wanted to try out new Sencha Touch 2.1. I've installed Sencha Cmd and generated new app.
    But when I try to build it (using sencha app build production) I've got following error:

    Code:
    ...
    [INF]           -sass:
    [INF]           [shellscript] Nazwa '''compass''' nie jest rozpoznawana jako pol
    ecenie wewnętrzne lub zewnętrzne,
    [INF]           [shellscript] D:\Sd\resources\sass>compass compile --boring --fo
    rce
    [INF]           [shellscript]
    [INF]           [shellscript] program wykonywalny lub plik wsadowy.
    [ERR]           BUILD FAILED
    [ERR]           com.sencha.exceptions.BasicException: The following error occurr
    ed while executing this line:
    [ERR]           D:\Sd\.sencha\app\build-impl.xml:92: The following error occurre
    d while executing this line:
    [ERR]           jar:file:/C:/Users/mbn/bin/Sencha/Cmd/3.0.0.250/sencha.jar!/com/
    sencha/ant/antlib.xml:347: shellscript returned: 1
    [ERR]                   at com.sencha.exceptions.BasicException.wrap(BasicExcept
    ion.java:43)
    [ERR]                   at com.sencha.cli.Command.dispatch(Command.java:104)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]                   at com.sencha.cli.AbstractCommand.dispatch(AbstractComma
    nd.java:182)
    [ERR]                   at com.sencha.ant.SenchaCommandTask.doExecute(SenchaComm
    andTask.java:58)
    ...
    Thanks

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,074
    Vote Rating
    854
    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


    It's complaining that compass is not installed. It's at the point where it's trying to compile the SASS to make your CSS
    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.

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    7
    Vote Rating
    0
    boniek is on a distinguished road

      0  

    Default


    Is this something new in Sencha Touch 2.1. ? I was able to compile application using 2.0.1.1 version on my Windows machine.

  4. #4
    Sencha User
    Join Date
    Oct 2012
    Posts
    1
    Vote Rating
    0
    Luis_af is on a distinguished road

      0  

    Default


    I had the same problem. Try this: http://compass-style.org/install/
    It works for me.

  5. #5
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,074
    Vote Rating
    854
    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


    Quote Originally Posted by boniek View Post
    Is this something new in Sencha Touch 2.1. ? I was able to compile application using 2.0.1.1 version on my Windows machine.
    The new Sencha Cmd does this now so yes it is new.
    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.

  6. #6
    Sencha User
    Join Date
    Sep 2011
    Location
    Italy
    Posts
    24
    Vote Rating
    0
    kermit136 is on a distinguished road

      0  

    Default


    st 2.1 still have problem

  7. #7
    Sencha User
    Join Date
    Dec 2011
    Location
    Sacramento, California
    Posts
    75
    Vote Rating
    9
    gypsie will become famous soon enough

      0  

    Default Same here

    Same here


    I have compass installed. I can manually compile with compass to generate .css files out o .sass or run compass watch. But when I run build it crashes on sass.