调试捆绑aurelia错误?

时间:2017-01-14 02:27:38

标签: debugging runtime-error bundle aurelia

我在测试我的aurelia应用程序时得到一个空白页面并出现此错误。它一直有效,直到我做了一些改变,我不知道哪一个打破了它。 vendor-bundle.js:13551位于核心代码中。我已经看到了调试消息,你可以看到。有没有办法找到导致这样的错误的原因,而不是一次撤消一个更改?

... snipped ... DEBUG [aurelia] Configured plugin aurelia-templating-router. DEBUG [aurelia] Loading plugin resources/index. Uncaught SyntaxError: Unexpected token export vendor-bundle.js:13551 Uncaught TypeError: Cannot read property '__useDefault' of undefined at ensureOriginOnExports (vendor-bundle.js:13551) at vendor-bundle.js:13659 at Object.execCb (vendor-bundle.js:5432) at Module.check (vendor-bundle.js:4620) at Module.<anonymous> (vendor-bundle.js:4875) at vendor-bundle.js:3873 at vendor-bundle.js:4925 at each (vendor-bundle.js:3798) at Module.emit (vendor-bundle.js:4924) at Module.check (vendor-bundle.js:4675) at Module.enable (vendor-bundle.js:4912) at Module.init (vendor-bundle.js:4525) at callGetModule (vendor-bundle.js:4939) at Object.completeLoad (vendor-bundle.js:5347) at HTMLScriptElement.onScriptLoad (vendor-bundle.js:5453)

0 个答案:

没有答案