大家好,
问题是sencha cmd给出此错误:未知命令包括
我在Ext Js 4.2工作
ruby -v
- ruby 2.0.0p353(2013-11-22)[i386-mingw32]
指南针-v - >指南针0.12.5(Alnilam)
sencha cmd版本:4.0.4.84
您的解决方案是什么?
谢谢everyboy
command line code :
cd D:\Proje\SenchaExtJs\TaskList
sencha app refresh
Error output here :
> Sencha Cmd v4.0.4.84 [INF] [INF] init-plugin: [INF] [INF]
> cmd-root-plugin.init-properties: [INF] [INF] init-properties: [INF]
> [INF] init-sencha-command: [INF] [INF] init: [INF] [INF]
> app-refresh: [INF] [echo] Refreshing app at
> D:\Proje\SenchaExtJs\TaskList [INF] [INF] app-refresh-impl: [INF]
> [INF] -before-init-local: [INF] [INF] -init-local: [INF] [INF]
> -after-init-local: [INF] [INF] init-local: [INF] [INF] find-cmd-in-path: [INF] [INF] find-cmd-in-environment: [INF] [INF]
> find-cmd-in-shell: [INF] [INF] init-cmd: [INF] [echo] Using
> Sencha Cmd from C:\Users\SARGIN.A-SARGIN\bin\Sencha\Cmd\4.0.4.84 for
> D:\Proje\SenchaExtJs\TaskList\build.xml [INF] [INF] -before-init:
> [INF] [INF] -init: [INF] Initializing Sencha Cmd ant environment
> [INF] Adding antlib taskdef for
> com/sencha/command/compass/ant/antlib.xml [INF] [INF] -after-init:
> [INF] [INF] -before-init-defaults: [INF] [INF] -init-defaults: [INF]
> [INF] -after-init-defaults: [INF] [INF] -init-compiler: [INF] [INF]
> init: [INF] [INF] refresh: [INF] [INF] -before-refresh: [INF] [INF]
> -init: [INF] [INF] -init-compiler: [INF] [INF] -detect-app-build-properties: [INF] Loading app json manifest... [INF] Loading classpath entry D:\Proje\SenchaExtJs\TaskList\ext\src [INF]
> Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\ext\packages\ext-theme-base\src [INF]
> Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\ext\packages\ext-theme-base\overrides
> [INF] Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\ext\packages\ext-theme-neutral\src [INF]
> Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\ext\packages\ext-theme-neutral\overrides
> [INF] Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\ext\packages\ext-theme-neptune\src [INF]
> Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\ext\packages\ext-theme-neptune\overrides
> [INF] Loading classpath entry D:\Proje\SenchaExtJs\TaskList\app [INF]
> Loading classpath entry D:\Proje\SenchaExtJs\TaskList\app.js [INF]
> Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\build\temp\production\Exp\sencha-compiler\app
> [INF] Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\build\temp\production\Exp\sencha-compiler\app
> [WRN] unable to locate files for external reference :
> D:\Proje\SenchaExtJs\TaskList\ext\ext-theme-neptune.js [WRN] scope is
> D:\Proje\SenchaExtJs\TaskList\build\temp\production\Exp\sencha-compiler\app
> [INF] Concatenating output to file
> D:\Proje\SenchaExtJs\TaskList/build/temp/production/Exp/sencha-compiler/cmd-packages.js
> [INF] Adding external reference : @full-page => @overrides [INF]
> Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\build\temp\production\Exp\sencha-compiler\cmd-packages.js
> [INF] Adding external reference : Ext.util.Observable =>
> D:\Proje\SenchaExtJs\TaskList/build/temp/production/Exp/sencha-compiler/cmd-packages.js
> [INF] [INF] -refresh-app: [INF] Appending concatenated output to file
> D:\Proje\SenchaExtJs\TaskList/bootstrap.js [ERR] [ERR] BUILD FAILED
> [ERR] com.sencha.exceptions.ExArg: Unknown command: "include" [ERR]
> [ERR] Total time: 5 seconds [ERR] The following error occurred while
> executing this line:
> C:\Users\SARGIN.A-SARGIN\bin\Sencha\Cmd\4.0.4.84\plugins\ext\4.2\plugin.xml:386:
> The following error occurred while executing this line:
> D:\Proje\SenchaExtJs\TaskList\.sencha\app\build-impl.xml:367: The
> following error occurred while executing this line:
> D:\Proje\SenchaExtJs\TaskList\.sencha\app\refresh-impl.xml:100: The
> following error occurred while executing this line:
> D:\Proje\SenchaExtJs\TaskList\.sencha\app\refresh-impl.xml:44:
> com.sencha.exceptions.ExArg: Unknown command: "include"
答案 0 :(得分:1)
问题是操作系统语言。
我使用Windows 8.1土耳其语。我安装了美国英语并在重新启动计算机后更改了我的操作系统语言US ENG。
错误转到地狱:)
参考页面:
答案 1 :(得分:1)
添加此vm参数修复了该问题: 的 your_sencha_path \煎茶\ Cmd的\ 6.5.3.6 \ sencha.vmoptions 强>
-Duser.country=US
-Duser.language=en
-Duser.variant=Traditional_WIN