Reputation: 1131
I'm using Sencha Touch 2.3.1 Sencha Cmd v5.0.0.160
After I generated sencha application using the command:
sencha generate app -name Stam -path ../StamApp
I tried run sencha app watch using:
sencha app watch
And the error I got is:
C:\sencha\StamApp\.sencha\app\build-impl.xml:242: The following error occurred while executing this line:
C:\sencha\StamApp\.sencha\app\watch-impl.xml:60: The following error occurred while executing this line:
C:\sencha\StamApp\.sencha\app\watch-impl.xml:40: Unknown attribute [refname]
Line 40 in watch-impl.xml:
<x-run-compass-watch directory="${app.sass.dir}" refName="compass-watch"/>
Note that I installed sass and compass, and it still doesn't work.
What am I missing?
Upvotes: 1
Views: 2034
Reputation: 450
For people like me:
look at rootdir/.sencha/app/watch-impl.xml
here find line with and replace :
<x-run-compass-watch directory="${app.sass.dir}" refName="compass-watch"/>
with
<x-run-compass-watch directory="${app.sass.dir}" /> <!--refName="compass-watch"-->
Start sencha app watch again and it runs.
Upvotes: 4
Reputation: 1131
This is a known bug, quoting an ExtJS Team Leader:
"Thanks all - that is the work around for this issue. We have it fixed for 5.0.1 and that is all it needed (removing "refName" from x-run-compass-watch call)"
Upvotes: 3
Reputation: 5856
I have tested it and I get the same error. It seems to be a bug, most likely in Sencha Cmd 5. Report it please on Sencha Forums.
Upvotes: 1