PDA

View Full Version : [FIXED] sencha cmd fails on second build



pedwards
20 May 2014, 6:48 AM
I created a new project and build ok:



sencha generate app -ext MyApp app
cd app
sencha app build


Now, when I run "sencha app build" again it gives the following error:



Sencha Cmd v5.0.0.116
[INF] Loading app json manifest...
[INF] Writing content to /tmp/app/bootstrap.js
[INF] Writing content to /tmp/app/bootstrap.json
[INF] Compressing data with YuiJavascriptCompressor
[INF] Concatenating output to file /tmp/app/build/production/MyApp/app.js
[INF] merging resources into /tmp/app/build/production/MyApp/resources
[INF] merged 0 resources into /tmp/app/build/production/MyApp/resources
[INF] merging resources into /tmp/app/build/production/MyApp
[INF] merged 0 resources into /tmp/app/build/production/MyApp
[INF] writing sass content to /tmp/app/build/temp/production/MyApp/sass/MyApp-all.scss.tmp
[INF] appending sass content to /tmp/app/build/temp/production/MyApp/sass/MyApp-all.scss.tmp
[INF] appending sass content to /tmp/app/build/temp/production/MyApp/sass/MyApp-all.scss.tmp
[INF] executing compass using system installed ruby runtime
unchanged MyApp-all.scss
[ERR] Failed to parse CSS 3.0 style sheet: Encountered " "+" "+ "" at line 1, column 10012.
Was expecting one of:
<S> ...
")" ...
<S> ...

[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExParse: could not parse css input content
[ERR] at com.sencha.command
[ERR] .Sencha.dispatch(Sencha.java:71)
[ERR]
[ERR] Total time: 6 seconds
[ERR] The following error occurred while executing this line:
/tmp/app/.sencha/app/build-impl.xml:274: The following error occurred while executing this line:
/tmp/app/.sencha/app/sass-impl.xml:139: The following error occurred while executing this line:
/tmp/app/.sencha/app/sass-impl.xml:156: The following error occurred while executing this line:
/tmp/app/.sencha/app/sass-impl.xml:98: com.sencha.exceptions.ExParse: could not parse css input content


In order to make it work I need to delete the build/production/MyApp/saas directory.

This is running on ubuntu 14.04.

Regards,
Paul

stewardsencha
20 May 2014, 9:01 AM
Duplicate of http://www.sencha.com/forum/showthread.php?283802

"You found a bug! We've classified it as SDKTOOLS-805"

You can try sencha app build --clean but it did not work for me.

"Sencha Cmd 5 Beta does not support Ext JS 4.x or Sencha Touch."

But I'm getting the same issues with Cmd 5.0.0.116 and ExtJS 5.0.0.736