PDA

View Full Version : [CLOSED] Unable to build fresh app with Sencha Touch 2.1.



boniek
9 Nov 2012, 3:11 AM
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:


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

mitchellsimoens
9 Nov 2012, 4:54 AM
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

boniek
9 Nov 2012, 6:35 AM
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.

Luis_af
9 Nov 2012, 6:39 AM
I had the same problem. Try this: http://compass-style.org/install/
It works for me.

mitchellsimoens
9 Nov 2012, 8:23 AM
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.

kermit136
17 Nov 2012, 11:37 PM
st 2.1 still have problem

gypsie
24 Feb 2013, 1:46 AM
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.