{"action":"opened","issue":{"url":"https://api.github.com/repos/Greentube/localize-router/issues/149","repository_url":"https://api.github.com/repos/Greentube/localize-router","labels_url":"https://api.github.com/repos/Greentube/localize-router/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/Greentube/localize-router/issues/149/comments","events_url":"https://api.github.com/repos/Greentube/localize-router/issues/149/events","html_url":"https://github.com/Greentube/localize-router/issues/149","id":383524242,"node_id":"MDU6SXNzdWUzODM1MjQyNDI=","number":149,"title":"localize-router not working as expected with Angular Universal: server-side rendering.","user":{"login":"ShrikantAdhav","id":21359357,"node_id":"MDQ6VXNlcjIxMzU5MzU3","avatar_url":"https://avatars2.githubusercontent.com/u/21359357?v=4","gravatar_id":"","url":"https://api.github.com/users/ShrikantAdhav","html_url":"https://github.com/ShrikantAdhav","followers_url":"https://api.github.com/users/ShrikantAdhav/followers","following_url":"https://api.github.com/users/ShrikantAdhav/following{/other_user}","gists_url":"https://api.github.com/users/ShrikantAdhav/gists{/gist_id}","starred_url":"https://api.github.com/users/ShrikantAdhav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShrikantAdhav/subscriptions","organizations_url":"https://api.github.com/users/ShrikantAdhav/orgs","repos_url":"https://api.github.com/users/ShrikantAdhav/repos","events_url":"https://api.github.com/users/ShrikantAdhav/events{/privacy}","received_events_url":"https://api.github.com/users/ShrikantAdhav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-22T12:55:45Z","updated_at":"2018-11-22T12:55:45Z","closed_at":null,"author_association":"NONE","body":"<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅\r\n\r\nHi there! 😄 \r\n\r\nWhen i use localize router with Angular Universal: server-side rendering it does not render pages as expected.\r\n\r\nNote - `LazyUniversalModuleLoaderProvider` is commented in `app.server.module.ts` file as it throws error.\r\n\r\nCases - \r\n\r\nCase-1 : When i directly try to load a page with URL (http://localhost:4000/fr/heros/accueil) \r\n       - Then first i see server side rendered GotLostPage and then actual page (/fr/heros/accueil) once client side app is loaded.\r\n       - GotLostPage is on route - { path: '**', component: GotLostPageComponent }\r\n       - When i check the page source it has content of GotLostPage \r\n\r\n![image](https://user-images.githubusercontent.com/21359357/48903690-45435580-ee82-11e8-8d04-79a0b1a84fd4.png)\r\n\r\n\r\nCase-2 : When i un-commented LazyUniversalModuleLoaderProvider in `app.server.module.ts`  file then i got following error on request - \r\n\r\n![image](https://user-images.githubusercontent.com/21359357/48903963-f8ac4a00-ee82-11e8-99da-8ad729786cda.png)\r\n\r\n\r\nCase-3 : It works as expected for root route\r\n\r\n![image](https://user-images.githubusercontent.com/21359357/48904200-a3246d00-ee83-11e8-83ab-8698ddd921b2.png)\r\n\r\n![image](https://user-images.githubusercontent.com/21359357/48904260-ca7b3a00-ee83-11e8-86fe-ed1b12e66527.png)\r\n\r\n\r\nHere is a repo to reproduce it - \r\nhttps://github.com/ShrikantAdhav/angular-universal-localize-router\r\n\r\nPlease let me know if i have not configured anything properly.\r\n\r\nThanks in advance :)"}}
{"actor":{"display_login":"ShrikantAdhav"}}