我安装了 Sencha CMD 工具以构建生产应用程序。我浏览了 sencha 指南: http ://docs.sencha.com/cmd/5.x/touch/cmd_app.html并升级到新版本 2.4。
我在 Windows 8 上运行 Sencha Touch 2.4.0.487、Sencha Cmd 5.0.2.270 和 Ruby 1.9.3、Compass 1.0.1、Sass 3.4.5。
基本上我正在尝试建立生产,但它失败了。您可以在下面看到错误。
如果有人有任何指示,将不胜感激。
Sencha Cmd v5.0.2.270
[INF] Processing Build Descriptor : default
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: java.lang.NullPointerException
[ERR]
[ERR] Total time: 2 seconds
[ERR] The following error occurred while executing this line:
..\www\app\.sencha\app\build-impl.xml:376: The following error occurr
ed while executing this line:
..\www\app\.sencha\app\init-impl.xml:292: com.sencha.exceptions.Basic
Exception: java.lang.NullPointerException
..\www\app>sencha app build testing
Sencha Cmd v5.0.2.270
[INF] Processing Build Descriptor : default
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: java.lang.NullPointerException
[ERR]
[ERR] Total time: 3 seconds
[ERR] The following error occurred while executing this line:
..\www\app\.sencha\app\build-impl.xml:376: The following error occurr
ed while executing this line:
..\www\app\.sencha\app\init-impl.xml:292: com.sencha.exceptions.Basic
Exception: java.lang.NullPointerException}