1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

How to overcome loading chunk failed with Angular lazy loaded modules

Discussão em 'Angular' iniciado por dottodot, Junho 18, 2025.

  1. dottodot

    dottodot Guest

    If I make changes to my angular app the chunk names will change on build and the old version will be removed from the dist folder. Once deployed, if a user is currently on the site, and then navigates to another part of the site, I get a "loading chunk failed" error because the old file is no longer there.

    My app is built using Angular CLI and is packaged using webpack.

    Is there any way this can be fixed?

    Continue reading...

Compartilhe esta Página