{"action":"created","issue":{"url":"https://api.github.com/repos/tim-evans/ember-page-title/issues/112","repository_url":"https://api.github.com/repos/tim-evans/ember-page-title","labels_url":"https://api.github.com/repos/tim-evans/ember-page-title/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/tim-evans/ember-page-title/issues/112/comments","events_url":"https://api.github.com/repos/tim-evans/ember-page-title/issues/112/events","html_url":"https://github.com/tim-evans/ember-page-title/issues/112","id":273206469,"node_id":"MDU6SXNzdWUyNzMyMDY0Njk=","number":112,"title":"ember-engine + ember-page-title fails","user":{"login":"sarathkumarbaskaran","id":8523149,"node_id":"MDQ6VXNlcjg1MjMxNDk=","avatar_url":"https://avatars0.githubusercontent.com/u/8523149?v=4","gravatar_id":"","url":"https://api.github.com/users/sarathkumarbaskaran","html_url":"https://github.com/sarathkumarbaskaran","followers_url":"https://api.github.com/users/sarathkumarbaskaran/followers","following_url":"https://api.github.com/users/sarathkumarbaskaran/following{/other_user}","gists_url":"https://api.github.com/users/sarathkumarbaskaran/gists{/gist_id}","starred_url":"https://api.github.com/users/sarathkumarbaskaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarathkumarbaskaran/subscriptions","organizations_url":"https://api.github.com/users/sarathkumarbaskaran/orgs","repos_url":"https://api.github.com/users/sarathkumarbaskaran/repos","events_url":"https://api.github.com/users/sarathkumarbaskaran/events{/privacy}","received_events_url":"https://api.github.com/users/sarathkumarbaskaran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-11-12T06:25:46Z","updated_at":"2018-09-28T11:42:36Z","closed_at":null,"author_association":"NONE","body":"Stack trace \r\n\r\n```javascript\r\nember.debug.js:26518 Error: Assertion Failed: Expected component:head-content to resolve to an Ember.Component but instead it was [object Object].\r\n    at assert (ember.debug.js:13695)\r\n    at validateType (ember.debug.js:13002)\r\n    at Class.resolve (ember.debug.js:12704)\r\n    at resolve (ember.debug.js:10640)\r\n    at Registry.resolve (ember.debug.js:10311)\r\n    at Registry.resolve (ember.debug.js:10315)\r\n    at Container.factoryFor (ember.debug.js:9720)\r\n    at Class.factoryFor (ember.debug.js:37715)\r\n    at Class.componentFor (ember.debug.js:45690)\r\n    at lookupComponentPair (ember.debug.js:47322)\r\n```\r\n\r\n``` javascript\r\nember.debug.js:26518 Error: Could not find module `test-engine/templates/head` imported from `test-engine/components/head-content`\r\n    at missingModule (loader.js:247)\r\n    at findModule (loader.js:258)\r\n    at Module.findDeps (loader.js:168)\r\n    at findModule (loader.js:262)\r\n    at requireModule (loader.js:24)\r\n    at Class._extractDefaultExport (index.js:392)\r\n    at Class.resolveOther (index.js:113)\r\n    at Class.superWrapper [as resolveOther] (ember.debug.js:45379)\r\n    at Class.resolve (ember.debug.js:12695)\r\n    at resolve (ember.debug.js:10640)\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/tim-evans/ember-page-title/issues/comments/425409560","html_url":"https://github.com/tim-evans/ember-page-title/issues/112#issuecomment-425409560","issue_url":"https://api.github.com/repos/tim-evans/ember-page-title/issues/112","id":425409560,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTQwOTU2MA==","user":{"login":"omarhamdan","id":14078873,"node_id":"MDQ6VXNlcjE0MDc4ODcz","avatar_url":"https://avatars2.githubusercontent.com/u/14078873?v=4","gravatar_id":"","url":"https://api.github.com/users/omarhamdan","html_url":"https://github.com/omarhamdan","followers_url":"https://api.github.com/users/omarhamdan/followers","following_url":"https://api.github.com/users/omarhamdan/following{/other_user}","gists_url":"https://api.github.com/users/omarhamdan/gists{/gist_id}","starred_url":"https://api.github.com/users/omarhamdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarhamdan/subscriptions","organizations_url":"https://api.github.com/users/omarhamdan/orgs","repos_url":"https://api.github.com/users/omarhamdan/repos","events_url":"https://api.github.com/users/omarhamdan/events{/privacy}","received_events_url":"https://api.github.com/users/omarhamdan/received_events","type":"User","site_admin":false},"created_at":"2018-09-28T11:42:36Z","updated_at":"2018-09-28T11:42:36Z","author_association":"NONE","body":"This worked for me: `ember-page-title: 4.0.2`. (Only tested with one engine)\r\n1) add ember-page-title to the engines package.json\r\n```\r\n  \"dependencies\": {\r\n    \"ember-page-title\": \"*\"\r\n  },\r\n```\r\n2) Create `head.hbs` file in `${engine-name}/addon/templates`\r\n```\r\n <title>{{model.title}}</title>\r\n```\r\n3) add to `${engine-name}/addon/templates/application.hbs`\r\n```\r\n{{head-layout}}\r\n```"}}
{"actor":{"display_login":"omarhamdan"}}