我试图设置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.
答案 0 :(得分:0)
检查您的workspace.json
文件;因为sencha workspace init命令可能会遗漏ext属性;根据您的ExtJS版本添加ext属性如下。
"frameworks": {
"ext": {
"path":"ext",
"version":"6.2.1.167"
}
}