我有一个angular2项目,我在控制台日志中遇到错误,看起来它指的是一个表单控件。但是,错误是如此通用,我无法看到您将如何解决它。
完整的错误是:
ERROR Error: Uncaught (in promise): Error: Loading chunk 20 failed.
Error: Loading chunk 20 failed.
at HTMLScriptElement.onScriptComplete (bootstrap d4434bb2fbdb690e5b54:103)
at HTMLScriptElement.W (polyfills.js:3)
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (core.es5.js:3881)
at t.invokeTask (polyfills.js:3)
at r.runTask (polyfills.js:3)
at e.invokeTask [as invoke] (polyfills.js:3)
at p (polyfills.js:2)
at HTMLScriptElement.v (polyfills.js:2)
at HTMLScriptElement.onScriptComplete (bootstrap d4434bb2fbdb690e5b54:103)
at HTMLScriptElement.W (polyfills.js:3)
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (core.es5.js:3881)
at t.invokeTask (polyfills.js:3)
at r.runTask (polyfills.js:3)
at e.invokeTask [as invoke] (polyfills.js:3)
at p (polyfills.js:2)
at HTMLScriptElement.v (polyfills.js:2)
at c (polyfills.js:3)
at Object.reject (polyfills.js:3)
at Tab.NavControllerBase._fireError (nav-controller-base.js:322)
at Tab.NavControllerBase._failed (nav-controller-base.js:310)
at nav-controller-base.js:365
at t.invoke (polyfills.js:3)
at Object.onInvoke (core.es5.js:3890)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3