当我尝试Uncaught ReferenceError: classic is not defined
使用命令sencha app watch
或sencha app watch classic
. 这是一个屏幕截图:。Sencha cmd版本为6.0.2.14。
如果我切换到 sencha cmd 6.1.0.65,我什至无法构建应用程序。之后sencha app build -dev
或sencha app build classic
我在控制台中收到错误:
[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
你对正在发生的事情有什么想法吗?
谢谢。
PS:这里是Admin Dashboard 应用示例的链接。