尝试启动Extjs6 AdminDashboard应用程序时未定义classic错误
当我尝试使用命令尝试启动Extjs6 AdminDashboard应用程序时未定义classic错误,extjs,sencha-cmd,extjs6,extjs6-classic,Extjs,Sencha Cmd,Extjs6,Extjs6 Classic,当我尝试使用命令sencha app watch或sencha app watch classic启动管理仪表板应用程序时,我在浏览器控制台Uncaught ReferenceError:classic未定义时出现此错误。 这是一个截图:。 Sencha cmd版本为6.0.2.14 如果我切换到sencha cmd 6.1.0.65,我甚至无法构建应用程序。在sencha应用程序构建-dev或sencha应用程序构建经典版之后,控制台中出现错误: [ERR] [ERR] BUILD FAIL
sencha app watch
或sencha app watch classic
启动管理仪表板应用程序时,我在浏览器控制台Uncaught ReferenceError:classic未定义时出现此错误。
这是一个截图:。
Sencha cmd版本为6.0.2.14
如果我切换到sencha cmd 6.1.0.65,我甚至无法构建应用程序。在sencha应用程序构建-dev
或sencha应用程序构建经典版
之后,控制台中出现错误:
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: Timed out waiting for sass build completion
[ERR] at sun.reflect.Delegati
[ERR] ngMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERR]
[ERR] Total time: 2 minutes 25 seconds
[ERR] ================= Phantomjs Output =================
[ERR] loading page http://localhost:1841/sass/example/fashion.html?phantomjs=true
successfully loaded page http://localhost:1841/sass/example/fashion.html?phantomjs=true
loading phantomjs adapter
== Unhandled Error ==
TypeError: undefined is not an object (evaluating 'item.uses.length')
http://localhost:1841/sass/example/bootstrap.js:921 in getLoadIndexes
http://localhost:1841/sass/example/bootstrap.js:963 in expandUrl
http://localhost:1841/sass/example/bootstrap.js:999 in expandUrls
http://localhost:1841/sass/example/bootstrap.js:1024 in expandLoadOrder
http://localhost:1841/sass/example/bootstrap.js:1042 in getUrls
http://localhost:1841/sass/example/bootstrap.js:1060 in getEntries
http://localhost:1841/sass/example/bootstrap.js:1091 in loadEntries
http://localhost:1841/sass/example/bootstrap.js:696 in processRequest
http://localhost:1841/sass/example/bootstrap.js:716 in load
http://localhost:1841/sass/example/bootstrap.js:2163 in onCachedAssetsReady
http://localhost:1841/sass/example/bootstrap.js:2128 in load
http://localhost:1841/sass/example/bootstrap.js:2069
http://localhost:1841/sass/example/bootstrap.js:822 in readyStateChange
[ERR] ============= End Phantomjs Output =================
[ERR] The following error occurred while executing this line:
/home/user/projects/SenchaTestDemo/AdminDashboard/.sencha/app/build-impl.xml:335: The following error occurred while executing this line:
/home/user/projects/SenchaTestDemo/AdminDashboard/.sencha/app/slice-impl.xml:386: The following error occurred while executing this line:
/home/user/projects/SenchaTestDemo/AdminDashboard/.sencha/app/slice-impl.xml:387: The following error occurred while executing this line:
/home/user/projects/SenchaTestDemo/AdminDashboard/.sencha/app/slice-impl.xml:122: com.sencha.exceptions.ExBuild: Timed out waiting for sass build completion
你对正在发生的事情有什么想法吗
谢谢
备注:这里是一个to Admin Dashboard应用程序示例。Cmd issue:
使用Cmd 6.0.2.14,在编译sass时,似乎在6.1.0.65上出现了错误
构建问题:
Uncaught ReferenceError: classic is not defined
因此,您可能下载了示例,导航到该文件夹并运行sencha app watch
对吗?在这个例子中,ext/文件夹中没有框架,似乎Cmd自动下载了框架的公共版本,不幸的是,这个版本很旧,您需要6.0.1.250
因此,删除SenchaTestDemo master\AdminDashboard\ext中的所有内容,并手动将最新的ext 6.0.1.250框架复制到其中,您可以从sencha.com下载该框架您是否尝试缩小问题范围?比如说,去掉sassfolder@aviram83我已经找到了一个github的源代码,它对我来说已经足够好了。默认情况下,根本没有,所以你需要先做sencha应用程序构建
sencha app upgrade 6.0.1.250
返回当前cmd版本中已经存在的应用程序结构
,因此我认为情况并非如此。谢谢你的回答