{"action":"created","issue":{"url":"https://api.github.com/repos/pillarjs/hbs/issues/148","repository_url":"https://api.github.com/repos/pillarjs/hbs","labels_url":"https://api.github.com/repos/pillarjs/hbs/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/pillarjs/hbs/issues/148/comments","events_url":"https://api.github.com/repos/pillarjs/hbs/issues/148/events","html_url":"https://github.com/pillarjs/hbs/issues/148","id":264845420,"number":148,"title":"\"The partial header could not be found\" only on first run","user":{"login":"rickul","id":12408766,"avatar_url":"https://avatars2.githubusercontent.com/u/12408766?v=4","gravatar_id":"","url":"https://api.github.com/users/rickul","html_url":"https://github.com/rickul","followers_url":"https://api.github.com/users/rickul/followers","following_url":"https://api.github.com/users/rickul/following{/other_user}","gists_url":"https://api.github.com/users/rickul/gists{/gist_id}","starred_url":"https://api.github.com/users/rickul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickul/subscriptions","organizations_url":"https://api.github.com/users/rickul/orgs","repos_url":"https://api.github.com/users/rickul/repos","events_url":"https://api.github.com/users/rickul/events{/privacy}","received_events_url":"https://api.github.com/users/rickul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-12T07:51:38Z","updated_at":"2018-05-27T17:06:19Z","closed_at":null,"author_association":"NONE","body":"I'm getting an error only on the first run:\r\n`The partial header could not be found`\r\n\r\n```\r\nconst handlebars = require('handlebars');\r\nconst hbs = require('hbs').create(handlebars);\r\n\r\nhbs.registerPartials(path.resolve(__dirname, '..', 'emails', 'en', 'partials'));\r\n```\r\n\r\nThe partials directory:\r\n- button.hbs\r\n- footer.hbs\r\n- header.hbs\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pillarjs/hbs/issues/comments/392347846","html_url":"https://github.com/pillarjs/hbs/issues/148#issuecomment-392347846","issue_url":"https://api.github.com/repos/pillarjs/hbs/issues/148","id":392347846,"user":{"login":"NetOperatorWibby","id":1288356,"avatar_url":"https://avatars1.githubusercontent.com/u/1288356?v=4","gravatar_id":"","url":"https://api.github.com/users/NetOperatorWibby","html_url":"https://github.com/NetOperatorWibby","followers_url":"https://api.github.com/users/NetOperatorWibby/followers","following_url":"https://api.github.com/users/NetOperatorWibby/following{/other_user}","gists_url":"https://api.github.com/users/NetOperatorWibby/gists{/gist_id}","starred_url":"https://api.github.com/users/NetOperatorWibby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetOperatorWibby/subscriptions","organizations_url":"https://api.github.com/users/NetOperatorWibby/orgs","repos_url":"https://api.github.com/users/NetOperatorWibby/repos","events_url":"https://api.github.com/users/NetOperatorWibby/events{/privacy}","received_events_url":"https://api.github.com/users/NetOperatorWibby/received_events","type":"User","site_admin":false},"created_at":"2018-05-27T17:06:19Z","updated_at":"2018-05-27T17:06:19Z","author_association":"NONE","body":"@rickul Your code snippet helped me find a solution to a similar problem in a different context. I needed to get Handlebars working with `fastify`'s `point-of-view` module. I may publish this on npm, cleaning up stuff at the moment."}}
{"actor":{"display_login":"NetOperatorWibby"}}