{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/26540","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/26540/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/26540/comments","events_url":"https://api.github.com/repos/angular/angular/issues/26540/events","html_url":"https://github.com/angular/angular/issues/26540","id":371528770,"node_id":"MDU6SXNzdWUzNzE1Mjg3NzA=","number":26540,"title":"docs: [DocViewer] Error preparing document, Loading chunk 10 failed.","user":{"login":"onlyflix","id":39100405,"node_id":"MDQ6VXNlcjM5MTAwNDA1","avatar_url":"https://avatars0.githubusercontent.com/u/39100405?v=4","gravatar_id":"","url":"https://api.github.com/users/onlyflix","html_url":"https://github.com/onlyflix","followers_url":"https://api.github.com/users/onlyflix/followers","following_url":"https://api.github.com/users/onlyflix/following{/other_user}","gists_url":"https://api.github.com/users/onlyflix/gists{/gist_id}","starred_url":"https://api.github.com/users/onlyflix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onlyflix/subscriptions","organizations_url":"https://api.github.com/users/onlyflix/orgs","repos_url":"https://api.github.com/users/onlyflix/repos","events_url":"https://api.github.com/users/onlyflix/events{/privacy}","received_events_url":"https://api.github.com/users/onlyflix/received_events","type":"User","site_admin":false},"labels":[{"id":533874619,"node_id":"MDU6TGFiZWw1MzM4NzQ2MTk=","url":"https://api.github.com/repos/angular/angular/labels/comp:%20docs-infra","name":"comp: docs-infra","color":"c7def8","default":false},{"id":130606843,"node_id":"MDU6TGFiZWwxMzA2MDY4NDM=","url":"https://api.github.com/repos/angular/angular/labels/type:%20bug/fix","name":"type: bug/fix","color":"EEEEEE","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/83","html_url":"https://github.com/angular/angular/milestone/83","labels_url":"https://api.github.com/repos/angular/angular/milestones/83/labels","id":3143880,"node_id":"MDk6TWlsZXN0b25lMzE0Mzg4MA==","number":83,"title":"needsTriage","description":"Milestone for all issues that haven't been triaged yet","creator":{"login":"ocombe","id":265378,"node_id":"MDQ6VXNlcjI2NTM3OA==","avatar_url":"https://avatars0.githubusercontent.com/u/265378?v=4","gravatar_id":"","url":"https://api.github.com/users/ocombe","html_url":"https://github.com/ocombe","followers_url":"https://api.github.com/users/ocombe/followers","following_url":"https://api.github.com/users/ocombe/following{/other_user}","gists_url":"https://api.github.com/users/ocombe/gists{/gist_id}","starred_url":"https://api.github.com/users/ocombe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocombe/subscriptions","organizations_url":"https://api.github.com/users/ocombe/orgs","repos_url":"https://api.github.com/users/ocombe/repos","events_url":"https://api.github.com/users/ocombe/events{/privacy}","received_events_url":"https://api.github.com/users/ocombe/received_events","type":"User","site_admin":false},"open_issues":219,"closed_issues":692,"state":"open","created_at":"2018-02-26T14:22:18Z","updated_at":"2018-10-18T19:48:37Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-10-18T13:23:59Z","updated_at":"2018-10-18T20:14:56Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\n\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n## I'm submitting a...\r\n<!-- Check one of the following options with \"x\" -->\r\n<pre><code>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[x ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Performance issue\r\n[ ] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n[ ] Other... Please describe:\r\n</code></pre>\r\n\r\n## Current behavior\r\n<!-- Describe how the issue manifests. -->\r\nWhen 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.\r\n\r\nFollowing error is displayed in the console:\r\n```js\r\nERROR Error: [DocViewer] Error preparing document 'api/animations/animate': Error: Loading chunk 10 failed.\r\n(error: https://angular.io/toc-toc-module-ngfactory.59481b14614c9d19ebd4.js)\r\n    at HTMLScriptElement.a (runtime.b95c2950b9946468c610.js:1)\r\n    at HTMLScriptElement.D (zone.js.pre-build-optimizer.js:1188)\r\n    at e.invokeTask (zone.js.pre-build-optimizer.js:421)\r\n    at Object.onInvokeTask (main.12cbd075231e48c67faf.js:1)\r\n    at e.invokeTask (zone.js.pre-build-optimizer.js:420)\r\n    at t.runTask (zone.js.pre-build-optimizer.js:188)\r\n    at t.invokeTask [as invoke] (zone.js.pre-build-optimizer.js:496)\r\n    at y (zone.js.pre-build-optimizer.js:1540)\r\n    at HTMLScriptElement._ (zone.js.pre-build-optimizer.js:1566)\r\n    at HTMLScriptElement.a (runtime.b95c2950b9946468c610.js:1)\r\n    at HTMLScriptElement.D (zone.js.pre-build-optimizer.js:1188)\r\n    at e.invokeTask (zone.js.pre-build-optimizer.js:421)\r\n    at Object.onInvokeTask (main.12cbd075231e48c67faf.js:1)\r\n    at e.invokeTask (zone.js.pre-build-optimizer.js:420)\r\n    at t.runTask (zone.js.pre-build-optimizer.js:188)\r\n    at t.invokeTask [as invoke] (zone.js.pre-build-optimizer.js:496)\r\n    at y (zone.js.pre-build-optimizer.js:1540)\r\n    at HTMLScriptElement._ (zone.js.pre-build-optimizer.js:1566)\r\n    at e.selector (main.12cbd075231e48c67faf.js:1)\r\n    at e.error (main.12cbd075231e48c67faf.js:1)\r\n    at e._error (main.12cbd075231e48c67faf.js:1)\r\n    at e.error (main.12cbd075231e48c67faf.js:1)\r\n    at e._error (main.12cbd075231e48c67faf.js:1)\r\n    at e.error (main.12cbd075231e48c67faf.js:1)\r\n    at e._error (main.12cbd075231e48c67faf.js:1)\r\n    at e.error (main.12cbd075231e48c67faf.js:1)\r\n    at e.notifyError (main.12cbd075231e48c67faf.js:1)\r\n    at e._error (main.12cbd075231e48c67faf.js:1)\r\n``` \r\n\r\n## Expected behavior\r\n<!-- Describe what the desired behavior would be. -->\r\nThe website loads and displays the content.\r\n\r\n## Minimal reproduction of the problem with instructions\r\n<!--\r\nFor bug reports please provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via\r\nhttps://stackblitz.com or similar (you can use this template as a starting point: https://stackblitz.com/fork/angular-gitter).\r\n-->\r\nHappens on random cases, so is difficult to reproduce.\r\n\r\n## What is the motivation / use case for changing the behavior?\r\n<!-- Describe the motivation or the concrete use case. -->\r\nViewing the docs without having to reload the page.\r\n\r\n## Environment\r\n\r\n<pre><code>\r\nAngular version: -\r\n<!-- Check whether this is still an issue in the most recent Angular version -->\r\n\r\nBrowser:\r\n- [x] Chrome (desktop) version  69.0.3497.100\r\n- [ ] Chrome (Android) version XX\r\n- [ ] Chrome (iOS) version XX\r\n- [ ] Firefox version XX\r\n- [ ] Safari (desktop) version XX\r\n- [ ] Safari (iOS) version XX\r\n- [ ] IE version XX\r\n- [ ] Edge version XX\r\n \r\nFor Tooling issues:\r\n- Node version: XX  <!-- run `node --version` -->\r\n- Platform:  <!-- Mac, Linux, Windows -->\r\n\r\nOthers:\r\n<!-- Anything else relevant?  Operating system version, IDE, package manager, HTTP server, ... -->\r\n</code></pre>\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/431146665","html_url":"https://github.com/angular/angular/issues/26540#issuecomment-431146665","issue_url":"https://api.github.com/repos/angular/angular/issues/26540","id":431146665,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTE0NjY2NQ==","user":{"login":"onlyflix","id":39100405,"node_id":"MDQ6VXNlcjM5MTAwNDA1","avatar_url":"https://avatars0.githubusercontent.com/u/39100405?v=4","gravatar_id":"","url":"https://api.github.com/users/onlyflix","html_url":"https://github.com/onlyflix","followers_url":"https://api.github.com/users/onlyflix/followers","following_url":"https://api.github.com/users/onlyflix/following{/other_user}","gists_url":"https://api.github.com/users/onlyflix/gists{/gist_id}","starred_url":"https://api.github.com/users/onlyflix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onlyflix/subscriptions","organizations_url":"https://api.github.com/users/onlyflix/orgs","repos_url":"https://api.github.com/users/onlyflix/repos","events_url":"https://api.github.com/users/onlyflix/events{/privacy}","received_events_url":"https://api.github.com/users/onlyflix/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T20:14:56Z","updated_at":"2018-10-18T20:14:56Z","author_association":"NONE","body":"Yes the error is still there. I emptied the cache, did a full reload and unregistered the SW. But when I closed and reopened the browser, the first link I clicked on throws the error again.\r\n(This time the failed URL is `https://angular.io/toc-toc-module-ngfactory.59481b14614c9d19ebd4.js`)"}}
{"actor":{"display_login":"onlyflix"}}