Extjs 运行时无法运行Sencha应用程序错误
每次我运行sencha应用程序时,它都会给出以下错误 我将应用升级到最新版本,但也没有解决问题 我的电脑上有sencha 6.6,我不完全确定这个sencha应用程序是用什么版本编写的。。。有人知道这个问题的原因吗Extjs 运行时无法运行Sencha应用程序错误,extjs,sencha-cmd,Extjs,Sencha Cmd,每次我运行sencha应用程序时,它都会给出以下错误 我将应用升级到最新版本,但也没有解决问题 我的电脑上有sencha 6.6,我不完全确定这个sencha应用程序是用什么版本编写的。。。有人知道这个问题的原因吗 localhost/:7 GET http://localhost:1841/resources/lib/bootstrap.min.css net::ERR_ABORTED 404 (Not Found) bootstrap.js:1595 GET http://localhost
localhost/:7 GET http://localhost:1841/resources/lib/bootstrap.min.css net::ERR_ABORTED 404 (Not Found)
bootstrap.js:1595 GET http://localhost:1841/ext/build/ext-all-rtl-debug.js?_dc=1540324633621 net::ERR_ABORTED 404 (Not Found)
evaluateLoadElement @ bootstrap.js:1595
loadElement @ bootstrap.js:1509
load @ bootstrap.js:1563
loadEntries @ bootstrap.js:1139
processRequest @ bootstrap.js:724
load @ bootstrap.js:746
onCachedAssetsReady @ bootstrap.js:2264
load @ bootstrap.js:2228
setManifest @ bootstrap.js:2169
(anonymous) @ bootstrap.js:2141
readyStateChange @ bootstrap.js:854
XMLHttpRequest.send (async)
(anonymous) @ VM330:1
fetch @ bootstrap.js:868
run @ bootstrap.js:2140
(anonymous) @ bootstrap.js:2698
Component.js?_dc=1540324633620:1 Uncaught TypeError: Ext.define is not a function
at Component.js?_dc=1540324633620:1
(anonymous) @ Component.js?_dc=1540324633620:1
ButtonGroup.js?_dc=1540324633620:1 Uncaught TypeError: Ext.define is not a function
at ButtonGroup.js?_dc=1540324633620:1
(anonymous) @ ButtonGroup.js?_dc=1540324633620:1
HtmlEditor.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at HtmlEditor.js?_dc=1540324633621:1
(anonymous) @ HtmlEditor.js?_dc=1540324633621:1
RowEditor.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at RowEditor.js?_dc=1540324633621:1
(anonymous) @ RowEditor.js?_dc=1540324633621:1
RowNumberer.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at RowNumberer.js?_dc=1540324633621:1
(anonymous) @ RowNumberer.js?_dc=1540324633621:1
Dock.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Dock.js?_dc=1540324633621:1
(anonymous) @ Dock.js?_dc=1540324633621:1
Menu.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Menu.js?_dc=1540324633621:1
(anonymous) @ Menu.js?_dc=1540324633621:1
Separator.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Separator.js?_dc=1540324633621:1
(anonymous) @ Separator.js?_dc=1540324633621:1
Panel.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Panel.js?_dc=1540324633621:1
(anonymous) @ Panel.js?_dc=1540324633621:1
Table.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Table.js?_dc=1540324633621:1
(anonymous) @ Table.js?_dc=1540324633621:1
Month.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Month.js?_dc=1540324633621:1
(anonymous) @ Month.js?_dc=1540324633621:1
Splitter.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Splitter.js?_dc=1540324633621:1
(anonymous) @ Splitter.js?_dc=1540324633621:1
Paging.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Paging.js?_dc=1540324633621:1
(anonymous) @ Paging.js?_dc=1540324633621:1
Toolbar.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Toolbar.js?_dc=1540324633621:1
(anonymous) @ Toolbar.js?_dc=1540324633621:1
Component.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Component.js?_dc=1540324633621:1
(anonymous) @ Component.js?_dc=1540324633621:1
Checkbox.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Checkbox.js?_dc=1540324633621:1
(anonymous) @ Checkbox.js?_dc=1540324633621:1
Check.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Check.js?_dc=1540324633621:1
(anonymous) @ Check.js?_dc=1540324633621:1
Column.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Column.js?_dc=1540324633621:1
(anonymous) @ Column.js?_dc=1540324633621:1
RowNumberer.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at RowNumberer.js?_dc=1540324633621:1
(anonymous) @ RowNumberer.js?_dc=1540324633621:1
RowExpander.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at RowExpander.js?_dc=1540324633621:1
(anonymous) @ RowExpander.js?_dc=1540324633621:1
TreeItem.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at TreeItem.js?_dc=1540324633621:1
(anonymous) @ TreeItem.js?_dc=1540324633621:1
Item.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Item.js?_dc=1540324633621:1
(anonymous) @ Item.js?_dc=1540324633621:1
Menu.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Menu.js?_dc=1540324633621:1
(anonymous) @ Menu.js?_dc=1540324633621:1
Date.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Date.js?_dc=1540324633621:1
(anonymous) @ Date.js?_dc=1540324633621:1
Month.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Month.js?_dc=1540324633621:1
(anonymous) @ Month.js?_dc=1540324633621:1
Splitter.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Splitter.js?_dc=1540324633621:1
(anonymous) @ Splitter.js?_dc=1540324633621:1
CheckboxModel.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at CheckboxModel.js?_dc=1540324633621:1
(anonymous) @ CheckboxModel.js?_dc=1540324633621:1
SpreadsheetModel.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at SpreadsheetModel.js?_dc=1540324633621:1
(anonymous) @ SpreadsheetModel.js?_dc=1540324633621:1
Paging.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Paging.js?_dc=1540324633621:1
(anonymous) @ Paging.js?_dc=1540324633621:1
MainController.js?_dc=1540324633621:7 Uncaught TypeError: Ext.define is not a function
at MainController.js?_dc=1540324633621:7
(anonymous) @ MainController.js?_dc=1540324633621:7
MainModel.js?_dc=1540324633621:4 Uncaught TypeError: Ext.define is not a function
at MainModel.js?_dc=1540324633621:4
(anonymous) @ MainModel.js?_dc=1540324633621:4
Global.js?_dc=1540324633621:2 Uncaught TypeError: Ext.define is not a function
at Global.js?_dc=1540324633621:2
(anonymous) @ Global.js?_dc=1540324633621:2
ChildSessionForm.js?_dc=1540324633621:21 Uncaught ReferenceError: OffsetApp is not defined
at ChildSessionForm.js?_dc=1540324633621:21
(anonymous) @ ChildSessionForm.js?_dc=1540324633621:21
LiveDetailController.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at LiveDetailController.js?_dc=1540324633621:1
(anonymous) @ LiveDetailController.js?_dc=1540324633621:1
Base.js?_dc=1540324633621:4 Uncaught TypeError: Ext.define is not a function
at Base.js?_dc=1540324633621:4
(anonymous) @ Base.js?_dc=1540324633621:4
Contract.js?_dc=1540324633621:25 Uncaught ReferenceError: OffsetApp is not defined
at Contract.js?_dc=1540324633621:25
(anonymous) @ Contract.js?_dc=1540324633621:25
LiveDetailModel.js?_dc=1540324633621:4 Uncaught TypeError: Ext.define is not a function
at LiveDetailModel.js?_dc=1540324633621:4
(anonymous) @ LiveDetailModel.js?_dc=1540324633621:4
Trade.js?_dc=1540324633621:45 Uncaught ReferenceError: OffsetApp is not defined
at Trade.js?_dc=1540324633621:45
(anonymous) @ Trade.js?_dc=1540324633621:45
LiveDetail.js?_dc=1540324633621:95 Uncaught TypeError: Ext.create is not a function
at LiveDetail.js?_dc=1540324633621:95
(anonymous) @ LiveDetail.js?_dc=1540324633621:95
ReportController.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at ReportController.js?_dc=1540324633621:1
(anonymous) @ ReportController.js?_dc=1540324633621:1
ContractReport.js?_dc=1540324633621:16 Uncaught ReferenceError: OffsetApp is not defined
at ContractReport.js?_dc=1540324633621:16
(anonymous) @ ContractReport.js?_dc=1540324633621:16
ReportModel.js?_dc=1540324633621:13 Uncaught ReferenceError: OffsetApp is not defined
at ReportModel.js?_dc=1540324633621:13
(anonymous) @ ReportModel.js?_dc=1540324633621:13
Report.js?_dc=1540324633621:37 Uncaught ReferenceError: OffsetApp is not defined
at Report.js?_dc=1540324633621:37
(anonymous) @ Report.js?_dc=1540324633621:37
Report.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Report.js?_dc=1540324633621:1
(anonymous) @ Report.js?_dc=1540324633621:1
Main.js?_dc=1540324633621:1 Uncaught TypeError: Ext.define is not a function
at Main.js?_dc=1540324633621:1
(anonymous) @ Main.js?_dc=1540324633621:1
Root.js?_dc=1540324633621:4 Uncaught TypeError: Ext.define is not a function
at Root.js?_dc=1540324633621:4
(anonymous) @ Root.js?_dc=1540324633621:4
Application.js?_dc=1540324633621:6 Uncaught TypeError: Ext.define is not a function
at Application.js?_dc=1540324633621:6
(anonymous) @ Application.js?_dc=1540324633621:6
app.js?_dc=1540324633621:6 Uncaught TypeError: Ext.application is not a function
at app.js?_dc=1540324633621:6
日志的相关部分如下所示:
ext-all-rtl-debug.js。。。404(未找到)
ext-all-rtl-debug.js是包含Sencha为您打包的基本框架的文件。如果因为以下原因而无法加载,那么您的应用程序当然不会加载
至于原因,您必须检查文件是否来自ext/build目录,或者它是否在目录中,然后检查服务器为什么不提供它。以及@Alexander的一个很好的提示,我发现build目录丢失了,所以一旦我将它从另一个sencha应用程序移到“ext”文件夹下,应用程序加载良好 谢谢你@Alexander