How to handle 'Loading chunk failed' error in an angular application

22 views
Skip to first unread message

Loisy PL

unread,
Jul 8, 2019, 11:56:43 AM7/8/19
to Angular and AngularJS discussion
In our angular application, we are getting 'Loading chunk failed' error frequently after production build. Please help me out to handle this.

Sander Elias

unread,
Jul 9, 2019, 1:09:22 AM7/9/19
to Angular and AngularJS discussion
Hi Loisy,

This sounds like an issue with the way you serve the app more. 
What server are you using?

Regards
Sander 

Loisy PL

unread,
Jul 9, 2019, 3:17:20 AM7/9/19
to Angular and AngularJS discussion
 IIS server and the command using for build is 'ng build --prod --aot=false'
Reply all
Reply to author
Forward
0 new messages