Webpack ChunkLoadError – Loading chunk X failed, even though it exist Hybrid Angular App
I was stumbled on this issue for a week .
So basically I try to install tinymce library lazyly on request. We have hybrid application angularjs & angular. I created service that lazily import tinymceNpmModule that has its own providers where i inject service that returns tinymce innstance.
When i analyze webpack i can see it is in different chunk and it works in angular solution
However I downgraded my service to be used in angularjs. so I fetch again tinymceInstance which it will load tinymce and tinymceNpmModule which is loaded but error thrown.
ChunkLoadError: Loading chunk src_tinymce_components_tinymce-wrapper_tinymce-npm_module_ts failed.
(missing: https://localhost:44300/app-v2-dist/src_tinymce_components_tinymce-wrapper_tinymce-npm_module_ts.js)
Webpack ChunkLoadError – Loading chunk X failed, even though it exist Hybrid Angular App
I was stumbled on this issue for a week .
So basically I try to install tinymce library lazyly on request. We have hybrid application angularjs & angular. I created service that lazily import tinymceNpmModule that has its own providers where i inject service that returns tinymce innstance.
When i analyze webpack i can see it is in different chunk and it works in angular solution
However I downgraded my service to be used in angularjs. so I fetch again tinymceInstance which it will load tinymce and tinymceNpmModule which is loaded but error thrown.
ChunkLoadError: Loading chunk src_tinymce_components_tinymce-wrapper_tinymce-npm_module_ts failed.
(missing: https://localhost:44300/app-v2-dist/src_tinymce_components_tinymce-wrapper_tinymce-npm_module_ts.js)