{"action":"created","issue":{"url":"https://api.github.com/repos/maximegris/angular-electron/issues/248","repository_url":"https://api.github.com/repos/maximegris/angular-electron","labels_url":"https://api.github.com/repos/maximegris/angular-electron/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/maximegris/angular-electron/issues/248/comments","events_url":"https://api.github.com/repos/maximegris/angular-electron/issues/248/events","html_url":"https://github.com/maximegris/angular-electron/issues/248","id":359434452,"node_id":"MDU6SXNzdWUzNTk0MzQ0NTI=","number":248,"title":"Lazy loading modules not working","user":{"login":"isurendrasingh","id":7621607,"node_id":"MDQ6VXNlcjc2MjE2MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7621607?v=4","gravatar_id":"","url":"https://api.github.com/users/isurendrasingh","html_url":"https://github.com/isurendrasingh","followers_url":"https://api.github.com/users/isurendrasingh/followers","following_url":"https://api.github.com/users/isurendrasingh/following{/other_user}","gists_url":"https://api.github.com/users/isurendrasingh/gists{/gist_id}","starred_url":"https://api.github.com/users/isurendrasingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isurendrasingh/subscriptions","organizations_url":"https://api.github.com/users/isurendrasingh/orgs","repos_url":"https://api.github.com/users/isurendrasingh/repos","events_url":"https://api.github.com/users/isurendrasingh/events{/privacy}","received_events_url":"https://api.github.com/users/isurendrasingh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-12T11:20:05Z","updated_at":"2018-09-13T08:17:24Z","closed_at":null,"author_association":"NONE","body":"When using lazy loaded routes, i'm getting this error \r\n`Error: Uncaught (in promise): Error: Loading chunk 0 failed.`\r\n\r\nI have used [this](https://github.com/maximegris/angular-electron/issues/58#issuecomment-331339496) and it's working fine except when i'm using the lazy loading like\r\n`{path: 'records', loadChildren: './components/records/records.module#RecordsModule', canActivate: [AuthGuardService]}`\r\n\r\nI thought it is because of `{useHash: true}`, but after removing this the first part was not working."},"comment":{"url":"https://api.github.com/repos/maximegris/angular-electron/issues/comments/420923456","html_url":"https://github.com/maximegris/angular-electron/issues/248#issuecomment-420923456","issue_url":"https://api.github.com/repos/maximegris/angular-electron/issues/248","id":420923456,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDkyMzQ1Ng==","user":{"login":"isurendrasingh","id":7621607,"node_id":"MDQ6VXNlcjc2MjE2MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7621607?v=4","gravatar_id":"","url":"https://api.github.com/users/isurendrasingh","html_url":"https://github.com/isurendrasingh","followers_url":"https://api.github.com/users/isurendrasingh/followers","following_url":"https://api.github.com/users/isurendrasingh/following{/other_user}","gists_url":"https://api.github.com/users/isurendrasingh/gists{/gist_id}","starred_url":"https://api.github.com/users/isurendrasingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isurendrasingh/subscriptions","organizations_url":"https://api.github.com/users/isurendrasingh/orgs","repos_url":"https://api.github.com/users/isurendrasingh/repos","events_url":"https://api.github.com/users/isurendrasingh/events{/privacy}","received_events_url":"https://api.github.com/users/isurendrasingh/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T08:17:24Z","updated_at":"2018-09-13T08:17:24Z","author_association":"NONE","body":"@shalomdotnet I've tried this approach also, but getting same error. The only fix is by changing `<base href=\"\">` to `<base href=\"./\">` But now the problem is that, when i open child window using the approach mentioned i'm getting error \r\n`Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'index.html'`"}}
{"actor":{"display_login":"isurendrasingh"}}