{"action":"created","issue":{"url":"https://api.github.com/repos/codyparker/channels-obstruction/issues/4","repository_url":"https://api.github.com/repos/codyparker/channels-obstruction","labels_url":"https://api.github.com/repos/codyparker/channels-obstruction/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/codyparker/channels-obstruction/issues/4/comments","events_url":"https://api.github.com/repos/codyparker/channels-obstruction/issues/4/events","html_url":"https://github.com/codyparker/channels-obstruction/issues/4","id":263621604,"number":4,"title":"Error running webpack","user":{"login":"ptav","id":7433752,"avatar_url":"https://avatars1.githubusercontent.com/u/7433752?v=4","gravatar_id":"","url":"https://api.github.com/users/ptav","html_url":"https://github.com/ptav","followers_url":"https://api.github.com/users/ptav/followers","following_url":"https://api.github.com/users/ptav/following{/other_user}","gists_url":"https://api.github.com/users/ptav/gists{/gist_id}","starred_url":"https://api.github.com/users/ptav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptav/subscriptions","organizations_url":"https://api.github.com/users/ptav/orgs","repos_url":"https://api.github.com/users/ptav/repos","events_url":"https://api.github.com/users/ptav/events{/privacy}","received_events_url":"https://api.github.com/users/ptav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-07T06:49:13Z","updated_at":"2017-10-09T15:49:22Z","closed_at":null,"author_association":"NONE","body":"When I try to setup the project \"out-of-the-box\" and run node_modules/.bin/webpack I get the following error:\r\n\r\n```C:\\Users\\pedro\\Documents\\dev\\contrib\\src\\channels-obstruction\\webpack.config.js:18\r\n    new webpack.NoEmitOnErrorsPlugin(), // don't reload if there is an error\r\n    ^\r\n\r\nTypeError: webpack.NoEmitOnErrorsPlugin is not a constructor\r\n    at Object.<anonymous> (C:\\Users\\pedro\\Documents\\dev\\contrib\\src\\channels-obstruction\\webpack.config.js:18:5)\r\n    at Module._compile (module.js:570:32)\r\n    at Object.Module._extensions..js (module.js:579:10)\r\n    at Module.load (module.js:487:32)\r\n    at tryModuleLoad (module.js:446:12)\r\n    at Function.Module._load (module.js:438:3)\r\n    at Module.require (module.js:497:17)\r\n    at require (internal/module.js:20:19)\r\n    at module.exports (C:\\Users\\pedro\\Documents\\dev\\contrib\\src\\channels-obstruction\\node_modules\\webpack\\bin\\convert-argv.js:80:13)\r\n    at Object.<anonymous> (C:\\Users\\pedro\\Documents\\dev\\contrib\\src\\channels-obstruction\\node_modules\\webpack\\bin\\webpack.js:39:40)\r\n```\r\n\r\nI tried to resolve this by removing the offending line (18: `new webpack.NoEmitOnErrorsPlugin()`). That allows it to progress further but then fails to recognise the .jsx files. See for example:\r\n\r\n```\r\nHash: c823a8b044190d0ff507\r\nVersion: webpack 1.15.0\r\nTime: 1499ms\r\n                        Asset    Size  Chunks             Chunk Names\r\n game-c823a8b044190d0ff507.js  774 kB       0  [emitted]  game\r\nlobby-c823a8b044190d0ff507.js  774 kB       1  [emitted]  lobby\r\n    + 183 hidden modules\r\n\r\nERROR in ./templates/components/lobby/index.jsx\r\nModule not found: Error: Cannot resolve 'file' or 'directory' ./LobbyBase.jsx in C:\\Users\\pedro\\Documents\\dev\\contrib\\src\\channels-obstruction\\templates\\components\\lobby\r\nresolve file\r\n  C:\\Users\\pedro\\Documents\\dev\\contrib\\src\\channels-obstruction\\templates\\components\\lobby\\LobbyBase.jsx.js doesn't exist\r\n  C:\\Users\\pedro\\Documents\\dev\\contrib\\src\\channels-obstruction\\templates\\components\\lobby\\LobbyBase.jsx.jsx doesn't exist\r\nresolve directory\r\n  C:\\Users\\pedro\\Documents\\dev\\contrib\\src\\channels-obstruction\\templates\\components\\lobby\\LobbyBase.jsx\\package.json doesn't exist (directory description file)\r\n  C:\\Users\\pedro\\Documents\\dev\\contrib\\src\\channels-obstruction\\templates\\components\\lobby\\LobbyBase.jsx is not a directory (directory default file)\r\n[C:\\Users\\pedro\\Documents\\dev\\contrib\\src\\channels-obstruction\\templates\\components\\lobby\\LobbyBase.jsx.js]\r\n[C:\\Users\\pedro\\Documents\\dev\\contrib\\src\\channels-obstruction\\templates\\components\\lobby\\LobbyBase.jsx.jsx]\r\n @ ./templates/components/lobby/index.jsx 7:17-43\r\n```\r\n\r\nThe file `LobbyBase.jsx` exists in `...\\templates\\components\\lobby`\r\n\r\nI'm new to node so all help is appreciated\r\n\r\nThanks\r\n\r\nPTav"},"comment":{"url":"https://api.github.com/repos/codyparker/channels-obstruction/issues/comments/335198806","html_url":"https://github.com/codyparker/channels-obstruction/issues/4#issuecomment-335198806","issue_url":"https://api.github.com/repos/codyparker/channels-obstruction/issues/4","id":335198806,"user":{"login":"codyparker","id":5673576,"avatar_url":"https://avatars3.githubusercontent.com/u/5673576?v=4","gravatar_id":"","url":"https://api.github.com/users/codyparker","html_url":"https://github.com/codyparker","followers_url":"https://api.github.com/users/codyparker/followers","following_url":"https://api.github.com/users/codyparker/following{/other_user}","gists_url":"https://api.github.com/users/codyparker/gists{/gist_id}","starred_url":"https://api.github.com/users/codyparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codyparker/subscriptions","organizations_url":"https://api.github.com/users/codyparker/orgs","repos_url":"https://api.github.com/users/codyparker/repos","events_url":"https://api.github.com/users/codyparker/events{/privacy}","received_events_url":"https://api.github.com/users/codyparker/received_events","type":"User","site_admin":false},"created_at":"2017-10-09T15:49:22Z","updated_at":"2017-10-09T15:49:22Z","author_association":"OWNER","body":"I've updated it to use webpack 3.0. Seems to work for me now."}}
{"actor":{"display_login":"codyparker"}}