{"action":"created","issue":{"url":"https://api.github.com/repos/rails/webpacker/issues/1303","repository_url":"https://api.github.com/repos/rails/webpacker","labels_url":"https://api.github.com/repos/rails/webpacker/issues/1303/labels{/name}","comments_url":"https://api.github.com/repos/rails/webpacker/issues/1303/comments","events_url":"https://api.github.com/repos/rails/webpacker/issues/1303/events","html_url":"https://github.com/rails/webpacker/issues/1303","id":300820359,"number":1303,"title":"Cannot read property 'compile' of undefined when running ./bin/webpack-dev-server","user":{"login":"Ankainnn","id":2134207,"avatar_url":"https://avatars2.githubusercontent.com/u/2134207?v=4","gravatar_id":"","url":"https://api.github.com/users/Ankainnn","html_url":"https://github.com/Ankainnn","followers_url":"https://api.github.com/users/Ankainnn/followers","following_url":"https://api.github.com/users/Ankainnn/following{/other_user}","gists_url":"https://api.github.com/users/Ankainnn/gists{/gist_id}","starred_url":"https://api.github.com/users/Ankainnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ankainnn/subscriptions","organizations_url":"https://api.github.com/users/Ankainnn/orgs","repos_url":"https://api.github.com/users/Ankainnn/repos","events_url":"https://api.github.com/users/Ankainnn/events{/privacy}","received_events_url":"https://api.github.com/users/Ankainnn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-02-27T22:38:08Z","updated_at":"2018-03-10T02:12:39Z","closed_at":null,"author_association":"NONE","body":"ruby 2.3.4\r\nrails 5.1.4\r\nnode 8.9.4\r\n\r\n I get next error when trying to run ./bin/webpack-dev-server\r\n\r\n```\r\n/home/project/node_modules/webpack-dev-server/bin/webpack-dev-server.js:405\r\n    throw e;\r\n    ^\r\n\r\nTypeError: Cannot read property 'compile' of undefined\r\n    at addCompilerHooks (/home/project/node_modules/webpack-dev-server/lib/Server.js:71:16)\r\n    at new Server (/home/project/node_modules/webpack-dev-server/lib/Server.js:81:5)\r\n    at startDevServer (/home/project/node_modules/webpack-dev-server/bin/webpack-dev-server.js:398:14)\r\n    at processOptions (/home/project/node_modules/webpack-dev-server/bin/webpack-dev-server.js:361:5)\r\n    at Object.<anonymous> /home/project/node_modules/webpack-dev-server/bin/webpack-dev-server.js:504:1)\r\n    at Module._compile (module.js:662:30)\r\n    at Object.Module._extensions..js (module.js:673:10)\r\n    at Module.load (module.js:575:32)\r\n    at tryModuleLoad (module.js:515:12)\r\n    at Function.Module._load (module.js:507:3)\r\n\r\n```\r\n\r\nDoes anyone faced with the same error?"},"comment":{"url":"https://api.github.com/repos/rails/webpacker/issues/comments/371994321","html_url":"https://github.com/rails/webpacker/issues/1303#issuecomment-371994321","issue_url":"https://api.github.com/repos/rails/webpacker/issues/1303","id":371994321,"user":{"login":"ytbryan","id":323891,"avatar_url":"https://avatars2.githubusercontent.com/u/323891?v=4","gravatar_id":"","url":"https://api.github.com/users/ytbryan","html_url":"https://github.com/ytbryan","followers_url":"https://api.github.com/users/ytbryan/followers","following_url":"https://api.github.com/users/ytbryan/following{/other_user}","gists_url":"https://api.github.com/users/ytbryan/gists{/gist_id}","starred_url":"https://api.github.com/users/ytbryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ytbryan/subscriptions","organizations_url":"https://api.github.com/users/ytbryan/orgs","repos_url":"https://api.github.com/users/ytbryan/repos","events_url":"https://api.github.com/users/ytbryan/events{/privacy}","received_events_url":"https://api.github.com/users/ytbryan/received_events","type":"User","site_admin":false},"created_at":"2018-03-10T02:12:39Z","updated_at":"2018-03-10T02:12:39Z","author_association":"CONTRIBUTOR","body":"Yes, https://github.com/rails/webpacker/pull/1316 is on its way "}}
{"actor":{"display_login":"ytbryan"}}