{"action":"created","issue":{"url":"https://api.github.com/repos/vue-styleguidist/vue-styleguidist/issues/111","repository_url":"https://api.github.com/repos/vue-styleguidist/vue-styleguidist","labels_url":"https://api.github.com/repos/vue-styleguidist/vue-styleguidist/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/vue-styleguidist/vue-styleguidist/issues/111/comments","events_url":"https://api.github.com/repos/vue-styleguidist/vue-styleguidist/issues/111/events","html_url":"https://github.com/vue-styleguidist/vue-styleguidist/issues/111","id":310462602,"number":111,"title":"Error cannot read property compile of undefined","user":{"login":"rothsandro","id":16229645,"avatar_url":"https://avatars0.githubusercontent.com/u/16229645?v=4","gravatar_id":"","url":"https://api.github.com/users/rothsandro","html_url":"https://github.com/rothsandro","followers_url":"https://api.github.com/users/rothsandro/followers","following_url":"https://api.github.com/users/rothsandro/following{/other_user}","gists_url":"https://api.github.com/users/rothsandro/gists{/gist_id}","starred_url":"https://api.github.com/users/rothsandro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rothsandro/subscriptions","organizations_url":"https://api.github.com/users/rothsandro/orgs","repos_url":"https://api.github.com/users/rothsandro/repos","events_url":"https://api.github.com/users/rothsandro/events{/privacy}","received_events_url":"https://api.github.com/users/rothsandro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-02T11:30:25Z","updated_at":"2018-04-02T14:48:42Z","closed_at":null,"author_association":"NONE","body":"I have a new vuejs project (with the webpack template) and try to start the vue-styleguidist dev server but I get an error.\r\n\r\nIt works fine if I install version 1.4.7 (the previous version) of vue-styleguidist.\r\n\r\n**Versions:**\r\nvue-styleguidist@1.7.2\r\nwebpack@3.11.0\r\nwebpack-dev-server@2.11.2\r\nNPM 5.8.0, Node 6.11.0\r\n\r\nError log:\r\n```\r\n> vue-styleguidist server\r\n\r\nTypeError: Cannot read property 'compile' of undefined\r\nTypeError: Cannot read property 'compile' of undefined\r\n    at addCompilerHooks (....../node_modules/vue-styleguidist/node_modules/webpack-dev-server/lib/Server.js:71:15)\r\n    at new Server (....../node_modules/vue-styleguidist/node_modules/webpack-dev-server/lib/Server.js:81:5)\r\n    at createServer (....../node_modules/vue-styleguidist/scripts/create-server.js:28:20)\r\n    at server (....../node_modules/vue-styleguidist/scripts/server.js:5:21)\r\n    at commandServer (....../node_modules/vue-styleguidist/bin/styleguidist.js:121:19)\r\n    at Object.<anonymous> (....../node_modules/vue-styleguidist/bin/styleguidist.js:70:3)\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.runMain (module.js:604:10)\r\n    at run (bootstrap_node.js:389:7)\r\n    at startup (bootstrap_node.js:149:9)\r\n    at bootstrap_node.js:504:3\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! expandli-fe@1.0.0 styleguide: `vue-styleguidist server`\r\nnpm ERR! Exit status 1\r\n```"},"comment":{"url":"https://api.github.com/repos/vue-styleguidist/vue-styleguidist/issues/comments/377945933","html_url":"https://github.com/vue-styleguidist/vue-styleguidist/issues/111#issuecomment-377945933","issue_url":"https://api.github.com/repos/vue-styleguidist/vue-styleguidist/issues/111","id":377945933,"user":{"login":"viljamis","id":671836,"avatar_url":"https://avatars2.githubusercontent.com/u/671836?v=4","gravatar_id":"","url":"https://api.github.com/users/viljamis","html_url":"https://github.com/viljamis","followers_url":"https://api.github.com/users/viljamis/followers","following_url":"https://api.github.com/users/viljamis/following{/other_user}","gists_url":"https://api.github.com/users/viljamis/gists{/gist_id}","starred_url":"https://api.github.com/users/viljamis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viljamis/subscriptions","organizations_url":"https://api.github.com/users/viljamis/orgs","repos_url":"https://api.github.com/users/viljamis/repos","events_url":"https://api.github.com/users/viljamis/events{/privacy}","received_events_url":"https://api.github.com/users/viljamis/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T14:48:42Z","updated_at":"2018-04-02T14:48:42Z","author_association":"CONTRIBUTOR","body":"I am guessing this is happening since Webpack 3 isn’t supported anymore and Vue Webpack templates don’t yet really have support for Webpack 4."}}
{"actor":{"display_login":"viljamis"}}