Sencha CMD-如何从管理仪表板模板仅构建MODERN应用程序?

问题描述 投票:0回答:1

我想从管理仪表板模板构建移动应用程序(仅用于测试目的)。>>

首先,我使用以下脚本创建了我的应用程序:

C:\xampp\htdocs\ext>sencha generate app -s templates/admin-dashboard app ../myApp

这很好!该应用程序及其树文件夹在\htdocs\myApp路径中创建。之后,我对视图进行了一些更改并运行以下脚本:

C:\xampp\htdocs\myApp>sencha app build modern production

但出现以下错误:

[LOG] Build error for C:\xampp\htdocs\myApp\build\temp\production\Admin\sass\Admin-all.scss
[LOG] Fashion Error : list_item_title__mix is not defined :
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: Fashion build exited with code : 1
[ERR]   at org.apache.tools.ant
[ERR] .TaskAdapter.execute(TaskAdapter.java:154)
[ERR]
[ERR] Total time: 1 minute 11 seconds

[ERR] C:\Users\silve\bin\Sencha\Cmd\7.1.0.15\plugin.xml:333: The following error occurred while executing this line:
C:\Users\silve\bin\Sencha\Cmd\7.1.0.15\ant\build\app\build-impl.xml:292: The following error occurred while executing this line:
C:\Users\silve\bin\Sencha\Cmd\7.1.0.15\ant\build\app\sass-impl.xml:205: The following error occurred while executing this line:
C:\Users\silve\bin\Sencha\Cmd\7.1.0.15\ant\build\app\sass-impl.xml:240: com.sencha.exceptions.ExBuild: Fashion build exited with code : 1
[ERR] A log is available in the file "C:\xampp\htdocs\myApp\sencha-error-20200411.log"

有人可以解释问题出在哪里吗?

如果我删除“现代”规范,一切正常,但是,我不需要经典的工具包,因为最终的设备将是手机。

我尝试使用以下方法均未成功:

  • sencha app build modern production
  • sencha app build -modern -e production

我想通过Admin Dashboard模板构建一个移动应用程序(仅用于测试目的)。首先,我使用以下脚本创建了应用程序:C:\ xampp \ htdocs \ ext> sencha生成应用程序-s ...

extjs cmd
1个回答
1
投票

您不需要使用--modern(docs)。在应用程序生成期间仅使用一次。

© www.soinside.com 2019 - 2024. All rights reserved.