title: Error: Can't resolve 'babel-loader'
body: <p>I am getting this error, can you please help me.Following are my webpack.config and package.JSON file.My server works fine, but not webpack.I installed Webpack globally but that did not solved this problem.</p>
  
  <p><strong>===webpack.config file===</strong></p>
  
  <pre><code>var path = require('path');
  const webpack = require('webpack');
  module.exports = {
    entry: './src/app.js',
    output: {
      filename: 'bundle.js',
      path: path.resolve(__dirname, 'public')
    },
  watch: true,
  module: {
    loaders: [
      {
        test:/\.js$/,
        exclude:/node_modules/,
        loader: 'babel-loader',
        query: {
          presets: ['react', 'es2015', 'stage-1']
        }
      }
  
    ]
  }
  </code></pre>
  
  <p><strong>===Package.JSON file ===</strong></p>
  
  <pre><code>{
    "name": "reduxApp",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts": {
      "test": "echo \"Error: no test specified\" &amp;&amp; exit 1"
    },
    "keywords": [],
    "author": "",
    "license": "ISC",
    "devDependencies": {
      "webpack": "^3.5.5"
    },
    "dependencies": {
      "babel": "^6.23.0",
      "babel-core": "^6.26.0",
      "babel-preset-es2015": "^6.24.1",
      "babel-preset-react": "^6.23.0",
      "babel-preset-stage-1": "^6.24.1",
      "express": "^4.15.4",
      "loader": "^2.1.1",
      "redux": "^3.7.2"
    }
  }
  </code></pre>