question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docs: [DocViewer] Error preparing document, Loading chunk 10 failed.

See original GitHub issue

I’m submitting a…


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
[ ] Other... Please describe:

Current behavior

When I go to a URL on angular.io (e.g. https://angular.io/api/animations/animate), sometimes the basic website loads, but the site content do not load. On a site reload (F5), the content gets displayed normally.

Following error is displayed in the console:

ERROR Error: [DocViewer] Error preparing document 'api/animations/animate': Error: Loading chunk 10 failed.
(error: https://angular.io/toc-toc-module-ngfactory.59481b14614c9d19ebd4.js)
    at HTMLScriptElement.a (runtime.b95c2950b9946468c610.js:1)
    at HTMLScriptElement.D (zone.js.pre-build-optimizer.js:1188)
    at e.invokeTask (zone.js.pre-build-optimizer.js:421)
    at Object.onInvokeTask (main.12cbd075231e48c67faf.js:1)
    at e.invokeTask (zone.js.pre-build-optimizer.js:420)
    at t.runTask (zone.js.pre-build-optimizer.js:188)
    at t.invokeTask [as invoke] (zone.js.pre-build-optimizer.js:496)
    at y (zone.js.pre-build-optimizer.js:1540)
    at HTMLScriptElement._ (zone.js.pre-build-optimizer.js:1566)
    at HTMLScriptElement.a (runtime.b95c2950b9946468c610.js:1)
    at HTMLScriptElement.D (zone.js.pre-build-optimizer.js:1188)
    at e.invokeTask (zone.js.pre-build-optimizer.js:421)
    at Object.onInvokeTask (main.12cbd075231e48c67faf.js:1)
    at e.invokeTask (zone.js.pre-build-optimizer.js:420)
    at t.runTask (zone.js.pre-build-optimizer.js:188)
    at t.invokeTask [as invoke] (zone.js.pre-build-optimizer.js:496)
    at y (zone.js.pre-build-optimizer.js:1540)
    at HTMLScriptElement._ (zone.js.pre-build-optimizer.js:1566)
    at e.selector (main.12cbd075231e48c67faf.js:1)
    at e.error (main.12cbd075231e48c67faf.js:1)
    at e._error (main.12cbd075231e48c67faf.js:1)
    at e.error (main.12cbd075231e48c67faf.js:1)
    at e._error (main.12cbd075231e48c67faf.js:1)
    at e.error (main.12cbd075231e48c67faf.js:1)
    at e._error (main.12cbd075231e48c67faf.js:1)
    at e.error (main.12cbd075231e48c67faf.js:1)
    at e.notifyError (main.12cbd075231e48c67faf.js:1)
    at e._error (main.12cbd075231e48c67faf.js:1)

Expected behavior

The website loads and displays the content.

Minimal reproduction of the problem with instructions

Happens on random cases, so is difficult to reproduce.

What is the motivation / use case for changing the behavior?

Viewing the docs without having to reload the page.

Environment


Angular version: -


Browser:
- [x] Chrome (desktop) version  69.0.3497.100
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mahaldecommented, Oct 18, 2018

I can confirm that the issue seems to be gone on Version 7.0.1-build.51036+sha.6c48455.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 14, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chunk error while in Sharepoint Online. - Microsoft Community
It seems that when navigating from the "Home" document library to any other library, the following error is present. Loading chunk.
Read more >
IBM Spectrum Protect: Server Messages and Error Codes
IBM Spectrum Protect provides an activity log to help the administrator track server activity and monitor the system. The activity log contains messages....
Read more >
Geneious Prime User Manual
The best way to get started with Geneious Prime is to try out some of our tutorials. The Tutorial option under the Help...
Read more >
Solaris Common Messages and Troubleshooting Guide
server connection failed 60. Error: Error adding OS service. Solaris 2.6 sparc sun4u: 61. Error Host Unknown: 62. ERROR: missing file arg (cm3)...
Read more >
Changelog — Python 3.8.14 documentation
bpo-35883: Python no longer fails at startup with a fatal error if a command line ... bpo-41373: Save files loaded with no line...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found