title: Error while running react application
body: <p><strong><em>Error:</em></strong> </p>
  
  <blockquote>
    <p>Cannot find module 'webpack/schemas/WebpackOptions.json'</p>
  </blockquote>
  
  <p>My <strong><em>webpack.config.js</em></strong> looks like this -</p>
  
  <pre><code>var config = {
  entry: './main.js',
  output: {
      path: '/',
      filename: 'index.js',
  },
  devServer: {
      inline: true,
      port: 8080
  },
  module: {
      loaders: [
          {
              test: /\.json$/,
              loader: 'json'
          },
          {
              test: /\.jsx?$/,
              exclude: /node_modules/,
              loader: 'babel-loader',
              query: {
                  presets: ['es2015', 'react']
              }
          }
      ]
      }
  }
  module.exports = config;
  </code></pre>