{"action":"created","issue":{"url":"https://api.github.com/repos/PlaceMe-SAS/single-spa-angular-cli/issues/1","repository_url":"https://api.github.com/repos/PlaceMe-SAS/single-spa-angular-cli","labels_url":"https://api.github.com/repos/PlaceMe-SAS/single-spa-angular-cli/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/PlaceMe-SAS/single-spa-angular-cli/issues/1/comments","events_url":"https://api.github.com/repos/PlaceMe-SAS/single-spa-angular-cli/issues/1/events","html_url":"https://github.com/PlaceMe-SAS/single-spa-angular-cli/issues/1","id":292596460,"node_id":"MDU6SXNzdWUyOTI1OTY0NjA=","number":1,"title":"Bootstrap multiple angular-cli apps on the same page","user":{"login":"dra14825","id":8776211,"node_id":"MDQ6VXNlcjg3NzYyMTE=","avatar_url":"https://avatars1.githubusercontent.com/u/8776211?v=4","gravatar_id":"","url":"https://api.github.com/users/dra14825","html_url":"https://github.com/dra14825","followers_url":"https://api.github.com/users/dra14825/followers","following_url":"https://api.github.com/users/dra14825/following{/other_user}","gists_url":"https://api.github.com/users/dra14825/gists{/gist_id}","starred_url":"https://api.github.com/users/dra14825/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dra14825/subscriptions","organizations_url":"https://api.github.com/users/dra14825/orgs","repos_url":"https://api.github.com/users/dra14825/repos","events_url":"https://api.github.com/users/dra14825/events{/privacy}","received_events_url":"https://api.github.com/users/dra14825/received_events","type":"User","site_admin":false},"labels":[{"id":810142387,"node_id":"MDU6TGFiZWw4MTAxNDIzODc=","url":"https://api.github.com/repos/PlaceMe-SAS/single-spa-angular-cli/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"robinComa","id":2729768,"node_id":"MDQ6VXNlcjI3Mjk3Njg=","avatar_url":"https://avatars0.githubusercontent.com/u/2729768?v=4","gravatar_id":"","url":"https://api.github.com/users/robinComa","html_url":"https://github.com/robinComa","followers_url":"https://api.github.com/users/robinComa/followers","following_url":"https://api.github.com/users/robinComa/following{/other_user}","gists_url":"https://api.github.com/users/robinComa/gists{/gist_id}","starred_url":"https://api.github.com/users/robinComa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinComa/subscriptions","organizations_url":"https://api.github.com/users/robinComa/orgs","repos_url":"https://api.github.com/users/robinComa/repos","events_url":"https://api.github.com/users/robinComa/events{/privacy}","received_events_url":"https://api.github.com/users/robinComa/received_events","type":"User","site_admin":false},"assignees":[{"login":"robinComa","id":2729768,"node_id":"MDQ6VXNlcjI3Mjk3Njg=","avatar_url":"https://avatars0.githubusercontent.com/u/2729768?v=4","gravatar_id":"","url":"https://api.github.com/users/robinComa","html_url":"https://github.com/robinComa","followers_url":"https://api.github.com/users/robinComa/followers","following_url":"https://api.github.com/users/robinComa/following{/other_user}","gists_url":"https://api.github.com/users/robinComa/gists{/gist_id}","starred_url":"https://api.github.com/users/robinComa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinComa/subscriptions","organizations_url":"https://api.github.com/users/robinComa/orgs","repos_url":"https://api.github.com/users/robinComa/repos","events_url":"https://api.github.com/users/robinComa/events{/privacy}","received_events_url":"https://api.github.com/users/robinComa/received_events","type":"User","site_admin":false}],"milestone":null,"comments":20,"created_at":"2018-01-29T23:16:56Z","updated_at":"2018-07-09T12:34:39Z","closed_at":"2018-02-16T13:04:52Z","author_association":"NONE","body":"Hello, first of all I wanted to say that I appreciate the work that was done to integrate angular-cli apps into the single-spa project. \r\n\r\nCurrently I am trying to bootstrap three angular-cli apps on the same page.\r\nMy problem is that only two applications get bootstrapped and the third one is producing an error.\r\n\r\n```\r\nsingle-spa-angular-cli.js:140: Cannot mount stock-root because that is not bootstrapped\r\n\r\nWhile NOT_MOUNTED, 'stock' rejected its lifecycle function promise with a non-Error. This will cause stack traces to not be accurate.\r\n```\r\nMy main.js looks like this:\r\n```\r\nmainRegisterApplication('user', () => import('./user-client/loader.js'), () => true).then(() => {\r\n    registerApplication('stock', () => import('./stock-client/loader.js'),() => true);\r\n    registerApplication('portfolio', () => import ('./portfolio-client/loader.js'), ()=> true);\r\n});\r\nstart();\r\n```\r\nOne thing I found out is that the last app to get bootstrapped is undefined:\r\n`window[\"stock-root\"]` would be undefined\r\nI dont think it is a configuration problem in the child apps because sometimes the \"stock\" app works and sometimes the \"portfolio\" app works.\r\nUnfortunately I cannot get behind what causes this error, because if I only start two apps they work fine on the same page.\r\n\r\nAny help would be greatly appreciated :)"},"comment":{"url":"https://api.github.com/repos/PlaceMe-SAS/single-spa-angular-cli/issues/comments/403463421","html_url":"https://github.com/PlaceMe-SAS/single-spa-angular-cli/issues/1#issuecomment-403463421","issue_url":"https://api.github.com/repos/PlaceMe-SAS/single-spa-angular-cli/issues/1","id":403463421,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzQ2MzQyMQ==","user":{"login":"robinComa","id":2729768,"node_id":"MDQ6VXNlcjI3Mjk3Njg=","avatar_url":"https://avatars0.githubusercontent.com/u/2729768?v=4","gravatar_id":"","url":"https://api.github.com/users/robinComa","html_url":"https://github.com/robinComa","followers_url":"https://api.github.com/users/robinComa/followers","following_url":"https://api.github.com/users/robinComa/following{/other_user}","gists_url":"https://api.github.com/users/robinComa/gists{/gist_id}","starred_url":"https://api.github.com/users/robinComa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinComa/subscriptions","organizations_url":"https://api.github.com/users/robinComa/orgs","repos_url":"https://api.github.com/users/robinComa/repos","events_url":"https://api.github.com/users/robinComa/events{/privacy}","received_events_url":"https://api.github.com/users/robinComa/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T12:34:39Z","updated_at":"2018-07-09T12:34:39Z","author_association":"CONTRIBUTOR","body":"On your chrome console, the network tab"}}
{"actor":{"display_login":"robinComa"}}