{"action":"created","issue":{"url":"https://api.github.com/repos/assemble/assemble/issues/669","labels_url":"https://api.github.com/repos/assemble/assemble/issues/669/labels{/name}","comments_url":"https://api.github.com/repos/assemble/assemble/issues/669/comments","events_url":"https://api.github.com/repos/assemble/assemble/issues/669/events","html_url":"https://github.com/assemble/assemble/issues/669","id":62515222,"number":669,"title":"Cannot assign to read only property 'src' of layout:default.hbs","user":{"login":"johjacb","id":2394337,"avatar_url":"https://avatars.githubusercontent.com/u/2394337?v=3","gravatar_id":"","url":"https://api.github.com/users/johjacb","html_url":"https://github.com/johjacb","followers_url":"https://api.github.com/users/johjacb/followers","following_url":"https://api.github.com/users/johjacb/following{/other_user}","gists_url":"https://api.github.com/users/johjacb/gists{/gist_id}","starred_url":"https://api.github.com/users/johjacb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johjacb/subscriptions","organizations_url":"https://api.github.com/users/johjacb/orgs","repos_url":"https://api.github.com/users/johjacb/repos","events_url":"https://api.github.com/users/johjacb/events{/privacy}","received_events_url":"https://api.github.com/users/johjacb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/assemble/assemble/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-17T20:49:51Z","updated_at":"2015-03-17T20:54:35Z","closed_at":null,"body":"I am using gulp assemble and started an issue there, but was sent here as it may be an assemble issue.\r\n\r\nI've got this setup:\r\n```\r\nassemble.layouts(['./src/templates/layouts/*.hbs']);\r\nassemble.partials(['./src/templates/partials/*.hbs']);\r\nassemble.pages('./src/templates/pages/*.hbs');\r\n\r\ngulp.task('assemble', function(){\r\n\tgulp.src('./src/templates/pages/*.hbs')\r\n\t\t.pipe(gulpAssemble(assemble))\r\n\t\t.pipe(gulp.dest(outputDir + ''))\r\n\t\t.pipe(reload({stream:true}));\r\n})\r\n```\r\n\r\nI am seeing this error:\r\n```\r\nError running middleware for default\r\nTypeError: Cannot assign to read only property 'src' of layout:default.hbs\r\n```\r\n\r\nAm I missing something?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/assemble/assemble/issues/comments/82596526","html_url":"https://github.com/assemble/assemble/issues/669#issuecomment-82596526","issue_url":"https://api.github.com/repos/assemble/assemble/issues/669","id":82596526,"user":{"login":"jonschlinkert","id":383994,"avatar_url":"https://avatars.githubusercontent.com/u/383994?v=3","gravatar_id":"","url":"https://api.github.com/users/jonschlinkert","html_url":"https://github.com/jonschlinkert","followers_url":"https://api.github.com/users/jonschlinkert/followers","following_url":"https://api.github.com/users/jonschlinkert/following{/other_user}","gists_url":"https://api.github.com/users/jonschlinkert/gists{/gist_id}","starred_url":"https://api.github.com/users/jonschlinkert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonschlinkert/subscriptions","organizations_url":"https://api.github.com/users/jonschlinkert/orgs","repos_url":"https://api.github.com/users/jonschlinkert/repos","events_url":"https://api.github.com/users/jonschlinkert/events{/privacy}","received_events_url":"https://api.github.com/users/jonschlinkert/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T20:54:35Z","updated_at":"2015-03-17T20:54:35Z","body":"also try removing `assemble.pages('./src/templates/pages/*.hbs');` in the meantime, since technically you're double reading those files. once with `src` and once with `pages`"}}