我们有一个EmberJS应用程序,每次我尝试运行该应用程序时,在启动时都会发生以下运行时错误。这是仅针对窗口的问题。 Mac可以正常工作。我相信vendor.js包含许多我们应用程序依赖的第三方库。我可以从哪里开始调试此问题?一个建议可能是Web Pack的潜在问题?这是开始的正确地方吗?我是这个项目的新手,据我所知,该公司没有人使用Windows环境进行开发。我怀疑有很多特定于Mac的项目。只是不完全确定从哪里开始。任何提示都会很棒。谢谢
EmberError description : undefined fileName : undefined lineNumber :
undefined message : "Assertion Failed: Could not find "svg.iconCharts" template or view." name : "Error" number : undefined stack :
"Error: Assertion Failed: Could not find "svg.iconCharts" template or view.↵
at new EmberError (https://localhost:3000/vendor.js:39962:23)↵ at
Object.Ember.assert (https://localhost:3000/vendor.js:29576:15)↵ at
Class.render (https://localhost:3000/vendor.js:51100:17)↵ at
Class.renderTemplate (https://localhost:3000/main.js:63561:18)↵ at
apply (https://localhost:3000/vendor.js:45385:27)↵ at
Class.superWrapper [as renderTemplate]
(https://localhost:3000/vendor.js:44956:15)↵ at Class.setup
(https://localhost:3000/vendor.js:50366:16)↵ at applyHook
(https://localhost:3000/vendor.js:72695:30)↵ at callHook
(https://localhost:3000/vendor.js:72689:14)↵ at
handlerEnteredOrUpdated (https://localhost:3000/vendor.js:71449:7)"
__proto__ : Error
reportError @ errors.js:6
error @ base.js:71
triggerEvent @ ember.debug.js:26351
trigger @ ember.debug.js:46873
trigger @ ember.debug.js:46718
finalizeTransition @ ember.debug.js:45907
(anonymous) @ ember.debug.js:45309
tryCatch @ ember.debug.js:47307
invokeCallback @ ember.debug.js:47319
publish @ ember.debug.js:47290
(anonymous) @ ember.debug.js:29435
invoke @ ember.debug.js:679
flush @ ember.debug.js:749
end @ ember.debug.js:135
(anonymous) @ ember.debug.js:521
setTimeout (async)
createAutorun @ ember.debug.js:519
defer @ ember.debug.js:219
run.schedule @ ember.debug.js:18411
raf @ fastdom.js:67
scheduleFlush @ fastdom.js:197
measure @ fastdom.js:98
(anonymous) @ eq.js:376
load (async)
addEvent @ eq.js:38
(anonymous) @ eq.js:375
fn @ bootstrap:98
./app/scripts/dependencies.js @ wizard.js:204
__webpack_require__ @ bootstrap:721
fn @ bootstrap:98
./app/scripts/app.js @ ajax.js:90
__webpack_require__ @ bootstrap:721
fn @ bootstrap:98
1 @ main.js:123381
__webpack_require__ @ bootstrap:721
./app/fonts/MaterialIcons-Regular.eot.module.exports @ bootstrap:788
(anonymous) @ bootstrap:788
答案 0 :(得分:0)
最好的猜测是,这是您的应用依赖项之一在开发模式下的路径问题。如果您搜索svg.iconCharts
字符串,则可能会发现有问题的插件