-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Angular 6 migration loading chunks failed #10961
Comments
we had this problem after upgrading to Angular 6. The think was we were allocating the js chunks files in a folder with a RefExp in Djangonize that would allocate any file with the pattern .chunk.js. Apparently Angular 6 does not add anymore the suffix chunk, so this was failing. We solved this with a new regular expression as follows:
Don't know if that might be of help in your case, or at least give you a hint. |
The easy way to solve this issue is by creating a browser target for local environment and then reference in serve node in an angular.json file
|
This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please? You can read here why this is needed. A good way to make a minimal repro is to create a new app via |
Closing as no reproduction was provided |
Try to run the app (ne serve). I got the same error when open the page from cache. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
npm-start
Observed behavior
Desired behavior
How to load chunks properly?
Mention any other details that might be useful (optional)
my package.json is
The text was updated successfully, but these errors were encountered: