-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chunk file error in lazy loading #213
Comments
What is your angular version? Can you provide a demo? |
Angular version 12 |
it is a bug when one sub app enable lazy module and sandbox, you can set sandbox to "false" try it? |
Possible reasons for this error are as follows:
Angular CLI |
Angular version 14 Describe the bug Expected behavior Error: Uncaught (in promise): ChunkLoadError: Loading chunk projects_app1_src_app_user_user_module_ts failed. |
Describe the bug
I have implemented lazy loading in my new app. It is creating the app with its lazy load chunk file. But when I click the link, it gives error message "Error: Uncaught (in promise): ChunkLoadError: Loading chunk projects_app4_src_app_component-two_component-two_module_ts failed."
Expected behavior
It should run the same way as app1 uses lazy loading on the user component
Screenshots
The text was updated successfully, but these errors were encountered: