Error before login page displayed.
When launching the client from VS Code, the following error is frequently raised, and the login page does not display. Refreshing the browser page will then cause the login page to be displayed without any errors.
[WDS] Live Reloading enabled.
vendor.js:236455
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
core.js:25637
ERROR
core.js:4002
Error: Uncaught (in promise): ChunkLoadError: Loading chunk account-account-module failed.
core.js:4002
message:"Uncaught (in promise): ChunkLoadError: Loading chunk account-account-module failed.\n(error: http://localhost:4200/account-account-module.js)\nChunkLoadError: Loading chunk account-account-module failed.\n(error: http://localhost:4200/account-account-module.js)\n at Function.requireEnsure [as e] (http://localhost:4200/runtime.js:127:26)\n at loadChildren (http://localhost:4200/main.js:30809:150)\n at RouterConfigLoader.push../node_modules/@angular/router/fesm5/router.js.RouterConfigLoader.loadModuleFactory (http://localhost:4200/vendor.js:88907:39)\n at RouterConfigLoader.push../node_modules/@angular/router/fesm5/router.js.RouterConfigLoader.load (http://localhost:4200/vendor.js:88892:35)\n at MergeMapSubscriber.project (http://localhost:4200/vendor.js:87894:47)\n at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext (http://localhost:4200/vendor.js:223173:27)\n at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMa...
promise:ZoneAwarePromise {__zone_symbol__state: 0, __zone_symbol__value: ChunkLoadError: Loading chunk account-account-modu…}
__zone_symbol__state:0
__zone_symbol__value:ChunkLoadError: Loading chunk account-account-module failed.
message:"Loading chunk account-account-module failed.\n(error: http://localhost:4200/account-account-module.js)"
name:"ChunkLoadError"
request:"http://localhost:4200/account-account-module.js"
stack:"ChunkLoadError: Loading chunk account-account-module failed.\n(error: http://localhost:4200/account-account-module.js)\n at Function.requireEnsure [as e] (http://localhost:4200/runtime.js:127:26)\n at loadChildren (http://localhost:4200/main.js:30809:150)\n at RouterConfigLoader.push../node_modules/@angular/router/fesm5/router.js.RouterConfigLoader.loadModuleFactory (http://localhost:4200/vendor.js:88907:39)\n at RouterConfigLoader.push../node_modules/@angular/router/fesm5/router.js.RouterConfigLoader.load (http://localhost:4200/vendor.js:88892:35)\n at MergeMapSubscriber.project (http://localhost:4200/vendor.js:87894:47)\n at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext (http://localhost:4200/vendor.js:223173:27)\n at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._next (http://localhost:4200/vendor.js:223163:18)\n at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/S...
type:"error"
__proto__:Object {constructor: , name: "Error", message: "", …}
Symbol(Symbol.toStringTag):undefined
__proto__:Object {then: , catch: , finally: , …}
rejection:ChunkLoadError: Loading chunk account-account-module failed.
stack:"Error: Uncaught (in promise): ChunkLoadError: Loading chunk account-account-module failed.\n(error: http://localhost:4200/account-account-module.js)\nChunkLoadError: Loading chunk account-account-module failed.\n(error: http://localhost:4200/account-account-module.js)\n at Function.requireEnsure [as e] (http://localhost:4200/runtime.js:127:26)\n at loadChildren (http://localhost:4200/main.js:30809:150)\n at RouterConfigLoader.push../node_modules/@angular/router/fesm5/router.js.RouterConfigLoader.loadModuleFactory (http://localhost:4200/vendor.js:88907:39)\n at RouterConfigLoader.push../node_modules/@angular/router/fesm5/router.js.RouterConfigLoader.load (http://localhost:4200/vendor.js:88892:35)\n at MergeMapSubscriber.project (http://localhost:4200/vendor.js:87894:47)\n at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext (http://localhost:4200/vendor.js:223173:27)\n at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/...
task:ZoneTask {_zone: Zone, runCount: 0, _zoneDelegates: null, …}
zone:Zone {_parent: Zone, _name: "angular", _properties: Object, …}
__proto__:Object {constructor: , name: "Error", message: "", …}
constructor:function Error() { … }
message:""
name:"Error"
toString:function toString() { … }
__proto__:Object {constructor: , __defineGetter__: , __defineSetter__: , …}
6 Answer(s)
-
0
The same problem happened again?
https://support.aspnetzero.com/QA/Questions/7828#answer-e572370a-e501-306d-7da9-39f0e850fc52
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Yes. And I still don't know the cause. It seems inconceivable that this bug only manifests when Microsoft announces the release of a new version of Visual Studio. Could you suggest some other cause?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
We have not received similar issues reported by other developers.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
When did "similar issues reported by other developers" become a criteria for responding to a support request?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
hi
I mean it may be caused by your local environmental problems, because you mentioned this before.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
This issue is closed because of no recent activity. Please create a new issue if you are still having this problem.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)