webpack.config.js
var ExtractTextPlugin = require(\"extract-text-webpack-plugin\");
I immediately receive this error if I just
Do you have webpack module on your project? If not, install it locally (not globally):
webpack
$ npm install webpack [--save-dev]
extract-text-webpack-plugin needs webpack as peer dependency, but npm 3 doesn't install peer dependencies automatically.
extract-text-webpack-plugin