question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin,

See original GitHub issue

Version

3.0.0-beta.6

Steps to reproduce

? Please pick a preset: Manually select features
? Check the features needed for your project: PWA, Router, Vuex, CSS Pre-processors, Linter, Unit, E2E
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default): SCSS/SASS
? Pick a linter / formatter config: Prettier
? Pick additional lint features: Lint on save, Lint and fix on commit
? Pick a unit testing solution: Jest
? Pick a E2E testing solution: Cypress
? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In dedicated config files
? Save this as a preset for future projects? Yes
? Save preset as: yobi
? Pick the package manager to use when installing dependencies: Yarn

run 'yarn build'

What is expected?

Project to build

What is actually happening?

yarn run v1.5.1
$ vue-cli-service build

\  Building for production...

 ERROR  Failed to compile with 2 errors                                                                                                               15:06:51

 error  in ./src/App.vue

Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-we
bpack-plugin for the usage example
    at Object.pitch (C:\work\ap-app-2\node_modules\extract-text-webpack-plugin\dist\loader.js:57:11)

 @ ./src/App.vue 2:2-398
 @ ./src/main.js
 @ multi ./src/main.js

 error  in ./src/components/HelloWorld.vue

Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-we
bpack-plugin for the usage example
    at Object.pitch (C:\work\ap-app-2\node_modules\extract-text-webpack-plugin\dist\loader.js:57:11)

 @ ./src/components/HelloWorld.vue 2:2-440
 @ ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"C://work//ap-app-2//node_modules//.cache//cache-loader"}!./node_modules/babel-loader/lib!./node_
modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/Home.vue
 @ ./src/views/Home.vue
 @ ./src/router.js
 @ ./src/main.js
 @ multi ./src/main.js

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
yyx990803commented, Apr 27, 2018

Closing as there is a workaround and we will be moving away from extract-text-webpack-plugin when we upgrade to webpack 4.

0reactions
KevinFreistroffercommented, Apr 13, 2018

Thanks! Command Prompt as Admin worked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: "extract-text-webpack-plugin" loader is used without ...
Uncaught Error: Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, ...
Read more >
reactjs - Extract Text Plugin 'loader is used without the ...
Module build failed : Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin. Followed the guidelines from this ...
Read more >
Solution - "extract-text-webpack-plugin" loader is used without ...
Recurring problem in Webpack's extract-text-webpack-plugin package, used to extract CSS (Cascading Style Sheets) references from JavaScript sources and ...
Read more >
Module build failed: Error: "extract-text-webpack-plugin ...
Module build failed : Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin,.
Read more >
使用extract-text-webpack-plugin报错Module build failed
src/components/search/trackList.vue Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found