{"action":"created","issue":{"url":"https://api.github.com/repos/usabilityhub/erb-loader/issues/2","repository_url":"https://api.github.com/repos/usabilityhub/erb-loader","labels_url":"https://api.github.com/repos/usabilityhub/erb-loader/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/usabilityhub/erb-loader/issues/2/comments","events_url":"https://api.github.com/repos/usabilityhub/erb-loader/issues/2/events","html_url":"https://github.com/usabilityhub/erb-loader/issues/2","id":186948505,"number":2,"title":"Module build failed: TypeError: Cannot read property 'write' of undefined","user":{"login":"rhys-vdw","id":822105,"avatar_url":"https://avatars.githubusercontent.com/u/822105?v=3","gravatar_id":"","url":"https://api.github.com/users/rhys-vdw","html_url":"https://github.com/rhys-vdw","followers_url":"https://api.github.com/users/rhys-vdw/followers","following_url":"https://api.github.com/users/rhys-vdw/following{/other_user}","gists_url":"https://api.github.com/users/rhys-vdw/gists{/gist_id}","starred_url":"https://api.github.com/users/rhys-vdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhys-vdw/subscriptions","organizations_url":"https://api.github.com/users/rhys-vdw/orgs","repos_url":"https://api.github.com/users/rhys-vdw/repos","events_url":"https://api.github.com/users/rhys-vdw/events{/privacy}","received_events_url":"https://api.github.com/users/rhys-vdw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-02T23:38:22Z","updated_at":"2016-11-02T23:56:55Z","closed_at":null,"body":"```\r\n10:31:45 webpack.1 | ERROR in ./app/assets/javascripts/views/screenshot-hitzone-editor.js.erb\r\n10:31:45 webpack.1 | Module build failed: TypeError: Cannot read property 'write' of undefined\r\n10:31:45 webpack.1 |     at Object.module.exports (/Users/rhys/Projects/usability-hub/usability_hub/node_modules/uh-erb-loader/index.js:20:14)\r\n10:31:45 webpack.1 |  @ ./app/assets/javascripts/components/test-form/screenshots-editor/screenshots-editor.js 71:31-82\r\n10:31:45 webpack.1 | \r\n10:31:45 webpack.1 | ERROR in ./app/assets/javascripts/constants/screenshot-image-types.js.erb\r\n10:31:45 webpack.1 | Module build failed: TypeError: Cannot read property 'write' of undefined\r\n10:31:45 webpack.1 |     at Object.module.exports (/Users/rhys/Projects/usability-hub/usability_hub/node_modules/uh-erb-loader/index.js:20:14)\r\n10:31:45 webpack.1 |  @ ./app/assets/javascripts/components/test-form/screenshots-editor/screenshots-editor.js 99:28-80\r\n```\r\n\r\nComing from [here](https://github.com/usabilityhub/erb-loader/blob/9bc50a6f5552ba53937b56052539621b8b3e43bb/index.js#L20).\r\n\r\nApparently `child.stdin` is undefined in some circumstances. It's unclear to me how this could occur.\r\n\r\nHave you seen this one @jdlehman? It's only coming up occasionally."},"comment":{"url":"https://api.github.com/repos/usabilityhub/erb-loader/issues/comments/258035048","html_url":"https://github.com/usabilityhub/erb-loader/issues/2#issuecomment-258035048","issue_url":"https://api.github.com/repos/usabilityhub/erb-loader/issues/2","id":258035048,"user":{"login":"rhys-vdw","id":822105,"avatar_url":"https://avatars.githubusercontent.com/u/822105?v=3","gravatar_id":"","url":"https://api.github.com/users/rhys-vdw","html_url":"https://github.com/rhys-vdw","followers_url":"https://api.github.com/users/rhys-vdw/followers","following_url":"https://api.github.com/users/rhys-vdw/following{/other_user}","gists_url":"https://api.github.com/users/rhys-vdw/gists{/gist_id}","starred_url":"https://api.github.com/users/rhys-vdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhys-vdw/subscriptions","organizations_url":"https://api.github.com/users/rhys-vdw/orgs","repos_url":"https://api.github.com/users/rhys-vdw/repos","events_url":"https://api.github.com/users/rhys-vdw/events{/privacy}","received_events_url":"https://api.github.com/users/rhys-vdw/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T23:56:55Z","updated_at":"2016-11-02T23:56:55Z","body":"According to the reference for [child.stdin](https://nodejs.org/api/child_process.html#child_process_child_stdin):\r\n\r\n> If the child was spawned with stdio[0] set to anything other than 'pipe', then this will be undefined."}}
{"actor":{"display_login":"rhys-vdw"}}