{"action":"created","issue":{"url":"https://api.github.com/repos/ember-engines/ember-engines/issues/485","repository_url":"https://api.github.com/repos/ember-engines/ember-engines","labels_url":"https://api.github.com/repos/ember-engines/ember-engines/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/ember-engines/ember-engines/issues/485/comments","events_url":"https://api.github.com/repos/ember-engines/ember-engines/issues/485/events","html_url":"https://github.com/ember-engines/ember-engines/issues/485","id":256232384,"number":485,"title":"TypeError: Cannot read property 'router' of undefined","user":{"login":"mqje","id":26004843,"avatar_url":"https://avatars3.githubusercontent.com/u/26004843?v=4","gravatar_id":"","url":"https://api.github.com/users/mqje","html_url":"https://github.com/mqje","followers_url":"https://api.github.com/users/mqje/followers","following_url":"https://api.github.com/users/mqje/following{/other_user}","gists_url":"https://api.github.com/users/mqje/gists{/gist_id}","starred_url":"https://api.github.com/users/mqje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mqje/subscriptions","organizations_url":"https://api.github.com/users/mqje/orgs","repos_url":"https://api.github.com/users/mqje/repos","events_url":"https://api.github.com/users/mqje/events{/privacy}","received_events_url":"https://api.github.com/users/mqje/received_events","type":"User","site_admin":false},"labels":[{"id":607270586,"url":"https://api.github.com/repos/ember-engines/ember-engines/labels/support%20request","name":"support request","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-09-08T12:02:01Z","updated_at":"2017-10-19T23:52:33Z","closed_at":null,"author_association":"NONE","body":"Hello, I just had this error while trying to configure my engine. \r\nI just have one route in my addon:\r\n```\r\nimport buildRoutes from 'ember-engines/routes';\r\n\r\nexport default buildRoutes(function() {\r\n  this.route('myRoute');\r\n});\r\n```\r\n\r\nIn my _app/router.js_\r\n```\r\nthis.mount('myAddon');\r\n ```\r\n\r\nI received this error, when I tried to access to this route via _http://localhost:4200/myAddon/myRoute_: \r\n```\r\nTypeError: Cannot read property 'router' of undefined\r\n  at error (router.js:827)\r\n    at Router$1.triggerEvent (router.js:1006)\r\n    at trigger (router.js:111)\r\n    at Transition.trigger (router.js:645)\r\n    at router.js:456\r\n    at tryCatch (rsvp.js:429)\r\n    at invokeCallback (rsvp.js:444)\r\n    at publish (rsvp.js:412)\r\n    at publishRejection (rsvp.js:347)\r\n    at rsvp.js:14\r\n```\r\nMaybe somebody already faced this error, I couldn find any information on SO or github, but maybe I missed something!\r\n\r\nIf you need more information, please ask me!\r\nGood day to you!"},"comment":{"url":"https://api.github.com/repos/ember-engines/ember-engines/issues/comments/338068923","html_url":"https://github.com/ember-engines/ember-engines/issues/485#issuecomment-338068923","issue_url":"https://api.github.com/repos/ember-engines/ember-engines/issues/485","id":338068923,"user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars0.githubusercontent.com/u/12637?v=4","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"created_at":"2017-10-19T23:52:33Z","updated_at":"2017-10-19T23:52:33Z","author_association":"COLLABORATOR","body":"And what ember version? Can anyone provide a reproduction / demo app?"}}
{"actor":{"display_login":"rwjblue"}}