webpack.config.js
var ExtractTextPlugin = require(\"extract-text-webpack-plugin\");
I immediately receive this error if I just
Simple fix
npm install extract-text-webpack-plugin --save-dev
https://www.npmjs.com/package/extract-text-webpack-plugin
Running npm i node-sass
might solve your problem
Use $ npm i -D extract-text-webpack-plugin@next
and this would solve your issue
Let me know if this worked.
https://github.com/webpack/webpack/issues/6568
You can try this command which I found on https://www.npmjs.com/package/extract-text-webpack-plugin
npm i extract-text-webpack-plugin
I solve it by use
Do you have webpack
module on your project?
If not, install it locally (not globally):
$ npm install webpack [--save-dev]
extract-text-webpack-plugin
needs webpack
as peer dependency, but npm 3 doesn't install peer dependencies automatically.