{"action":"opened","issue":{"url":"https://api.github.com/repos/BlueOakJS/blueoak-build/issues/1","repository_url":"https://api.github.com/repos/BlueOakJS/blueoak-build","labels_url":"https://api.github.com/repos/BlueOakJS/blueoak-build/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/BlueOakJS/blueoak-build/issues/1/comments","events_url":"https://api.github.com/repos/BlueOakJS/blueoak-build/issues/1/events","html_url":"https://github.com/BlueOakJS/blueoak-build/issues/1","id":218003845,"number":1,"title":"gulp build fails if getGeneratorConfig doesn't find a .yo.rc file outside the project directory ","user":{"login":"seanpk","id":5642399,"avatar_url":"https://avatars0.githubusercontent.com/u/5642399?v=3","gravatar_id":"","url":"https://api.github.com/users/seanpk","html_url":"https://github.com/seanpk","followers_url":"https://api.github.com/users/seanpk/followers","following_url":"https://api.github.com/users/seanpk/following{/other_user}","gists_url":"https://api.github.com/users/seanpk/gists{/gist_id}","starred_url":"https://api.github.com/users/seanpk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanpk/subscriptions","organizations_url":"https://api.github.com/users/seanpk/orgs","repos_url":"https://api.github.com/users/seanpk/repos","events_url":"https://api.github.com/users/seanpk/events{/privacy}","received_events_url":"https://api.github.com/users/seanpk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-29T20:45:48Z","updated_at":"2017-03-29T20:45:48Z","closed_at":null,"body":"I think it should also work with a file in the project directory, and maybe even without one.\r\n\r\nThe impact of this is that builds don't work until the developer puts a `.yo.rc` file one level up from the git project where the blueoak-build gulp script works.\r\n\r\n```shell\r\n$ gulp build\r\n[12:00:45] Using gulpfile ~/blueoak/blueoak-cms-psxm/gulpfile.js\r\n[12:00:45] Starting 'build-spa'...\r\n[12:00:45] all files 43.02 kB\r\n[12:00:45] 'build-spa' errored after 672 ms\r\n[12:00:45] Error: ENOENT: no such file or directory, open '../.yo-rc.json'\r\n    at Error (native)\r\n    at Object.fs.openSync (fs.js:549:18)\r\n    at Object.fs.readFileSync (fs.js:397:15)\r\n    at Object.getGeneratorConfig (/home/devin/blueoak/blueoak-cms-psxm/node_modules/blueoak-build/gulp/utils.js:120:11)\r\n    at Object.compileSass (/home/devin/blueoak/blueoak-cms-psxm/node_modules/blueoak-build/gulp/spa/styles.js:51:30)\r\n    at Builder.stylesNoMin [as _stylesNoMin] (/home/devin/blueoak/blueoak-cms-psxm/node_modules/blueoak-build/gulp/spa/withDebugSPABuildPrimitives.js:31:16)\r\n    at Builder.<anonymous> (/home/devin/blueoak/blueoak-cms-psxm/node_modules/blueoak-build/gulp/spa/withDebugSPABuildPrimitives.js:52:52)\r\n    at _fulfilled (/home/devin/blueoak/blueoak-cms-psxm/node_modules/q/q.js:854:54)\r\n    at self.promiseDispatch.done (/home/devin/blueoak/blueoak-cms-psxm/node_modules/q/q.js:883:30)\r\n    at Promise.promise.promiseDispatch (/home/devin/blueoak/blueoak-cms-psxm/node_modules/q/q.js:816:13)\r\n[12:00:45] gulp-inject 6 files into app/index.scss.\r\n```"}}
{"actor":{"display_login":"seanpk"}}