1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    3
    Vote Rating
    0
    EllenWu is on a distinguished road

      0  

    Default sencha app build production faild

    sencha app build production faild


    enviroment:
    ST2.1 sencha cmd 3.0 java 1.7u9

    1. set the ST path with cmd: sencha -s ST2.1/path
    2. I generate a new project with command: sencha generate app ./ myApp. it success
    3. I tried build it through cmd without any other action: sencha app build production

    then it report error log as following show:
    Code:
    [INF]           -before-sass:[INF]           -sass:
    [INF]           [shellscript]
    [INF]           [shellscript] '''compass''' 不是内部或外部命令,也不是可运行的程
    序D:\Projects\sencha_touch\LingYun\Lingyun\Lingyun\resources\sass>compass compil
    e --boring --force
    [INF]           [shellscript] 或批处理文件。
    [INF]           [shellscript]
    [ERR]           BUILD FAILED
    [ERR]           com.sencha.exceptions.BasicException: The following error occurr
    ed while executing this line:
    [ERR]           D:\Projects\sencha_touch\LingYun\Lingyun\Lingyun\.sencha\app\bui
    ld-impl.xml:92: The following error occurred while executing this line:
    [ERR]           jar:file:/C:/Program%20Files/sencha_command/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)
    [ERR]                   at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:2
    2)
    [ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownEl
    ement.java:291)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
    ource)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
    wn Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(D
    ispatchUtils.java:106)
    [ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]                   at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]                   at org.apache.tools.ant.Target.performTasks(Target.java:
    413)
    [ERR]                   at org.apache.tools.ant.Project.executeSortedTargets(Pro
    ject.java:1399)
    [ERR]                   at org.apache.tools.ant.Project.executeTarget(Project.ja
    va:1368)

    anybody know what's the problem???

  2. #2
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    25
    Vote Rating
    0
    JExtJS is on a distinguished road

      0  

    Default


    Did you install Compass?

Thread Participants: 1