设置extjs

时间:2017-07-05 05:43:13

标签: extjs

我试图设置extjs框架并获取和错误' ext'在当前工作空间中不存在

root@samuel-pc:~/Documents/code/test# sencha app install --framework=/home/samuel/Downloads/ext-6.5.0
Sencha Cmd v6.5.0.180
[INF] Using existing workspace at /home/samuel/Documents/code/test
[WRN] Workspace may not be initialized properly, consider including the --frameworks switch.
[ERR] Framework 'ext' is not present in the current workspace. 

1 个答案:

答案 0 :(得分:0)

检查您的workspace.json文件;因为sencha workspace init命令可能会遗漏ext属性;根据您的ExtJS版本添加ext属性如下。

"frameworks": {        
    "ext": {
            "path":"ext",
            "version":"6.2.1.167"
        }
}