{"action":"closed","issue":{"url":"https://api.github.com/repos/vuejs/vue-cli/issues/455","repository_url":"https://api.github.com/repos/vuejs/vue-cli","labels_url":"https://api.github.com/repos/vuejs/vue-cli/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-cli/issues/455/comments","events_url":"https://api.github.com/repos/vuejs/vue-cli/issues/455/events","html_url":"https://github.com/vuejs/vue-cli/issues/455","id":227170585,"number":455,"title":"[vue build] Issue installing stylus-loader, 'webpack' not found","user":{"login":"Akryum","id":2798204,"avatar_url":"https://avatars0.githubusercontent.com/u/2798204?v=4","gravatar_id":"","url":"https://api.github.com/users/Akryum","html_url":"https://github.com/Akryum","followers_url":"https://api.github.com/users/Akryum/followers","following_url":"https://api.github.com/users/Akryum/following{/other_user}","gists_url":"https://api.github.com/users/Akryum/gists{/gist_id}","starred_url":"https://api.github.com/users/Akryum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akryum/subscriptions","organizations_url":"https://api.github.com/users/Akryum/orgs","repos_url":"https://api.github.com/users/Akryum/repos","events_url":"https://api.github.com/users/Akryum/events{/privacy}","received_events_url":"https://api.github.com/users/Akryum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-08T20:51:31Z","updated_at":"2018-02-05T03:31:51Z","closed_at":"2018-02-05T03:31:51Z","author_association":"MEMBER","body":"Using the `vue build` command without configuration, I can't make stylus to work without installing `webpack` or I will get an error that the module resolver can't find it:\r\n\r\n```\r\nModule build failed: Error: Cannot find module 'webpack'\r\n    at Function.Module._resolveFilename (module.js:470:15)\r\n    at Function.Module._load (module.js:418:25)\r\n    at Module.require (module.js:498:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/home/akryum/Projets/packt-vue-project-guide/chapter4/node_modules/stylus-loader/index.js:181:27)\r\n    at Module._compile (module.js:571:32)\r\n    at Object.Module._extensions..js (module.js:580:10)\r\n    at Module.load (module.js:488:32)\r\n    at tryModuleLoad (module.js:447:12)\r\n    at Function.Module._load (module.js:439:3)\r\n    at Module.require (module.js:498:17)\r\n    at require (internal/module.js:20:19)\r\n    at loadLoader (/usr/local/lib/node_modules/vue-cli/node_modules/loader-runner/lib/loadLoader.js:13:17)\r\n    at iteratePitchingLoaders (/usr/local/lib/node_modules/vue-cli/node_modules/loader-runner/lib/LoaderRunner.js:169:2)\r\n    at iteratePitchingLoaders (/usr/local/lib/node_modules/vue-cli/node_modules/loader-runner/lib/LoaderRunner.js:165:10)\r\n    at /usr/local/lib/node_modules/vue-cli/node_modules/loader-runner/lib/LoaderRunner.js:173:18\r\n\r\n @ /usr/local/lib/~/vue-cli/~/vue-style-loader!/usr/local/lib/~/vue-cli/~/css-loader?-autoprefixer&sourceMap!/usr/local/lib/~/vue-cli/~/vue-loader/lib/style-rewriter.js?id=data-v-0ba4de5c&scoped=true!/usr/local/lib/~/vue-cli/~/postcss-loader?sourceMap!./~/stylus-loader?sourceMap!/usr/local/lib/~/vue-cli/~/vue-loader/lib/selector.js?type=styles&index=0!./Stylus.vue 4:14-528 13:3-17:5 14:22-536\r\n @ ./Stylus.vue\r\n @ /usr/local/lib/~/vue-cli/lib/default-entry.es6\r\n @ multi (webpack)-hot-middleware/client.js?reload=true /usr/local/lib/~/vue-cli/lib/default-entry.es6\r\n```\r\n\r\n### What I expect\r\n\r\n    npm install --save-dev stylus stylus-loader\r\n\r\n### What I have to do\r\n\r\n    npm install --save-dev stylus stylus-loader webpack"}}
{"actor":{"display_login":"yyx990803"}}