Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Loading chunk account-account-module failed. #8371


User avatar
0
TimMackey created

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)
  • User Avatar
    0
    maliming created
    Support Team

    The same problem happened again?

    https://support.aspnetzero.com/QA/Questions/7828#answer-e572370a-e501-306d-7da9-39f0e850fc52

  • User Avatar
    0
    TimMackey created

    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?

  • User Avatar
    0
    maliming created
    Support Team

    We have not received similar issues reported by other developers.

  • User Avatar
    0
    TimMackey created

    When did "similar issues reported by other developers" become a criteria for responding to a support request?

  • User Avatar
    0
    maliming created
    Support Team

    hi

    I mean it may be caused by your local environmental problems, because you mentioned this before.

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because of no recent activity. Please create a new issue if you are still having this problem.