title: Cannot find module "./src/index.js"
body: <p>I am new to React and Flux and cannot figure out how to fix the error below. After loading <code>localhost:8080/app</code>, the console is showing <code>cannot find module "./src/index.js"</code>
  (see <a href="http://i.stack.imgur.com/avyb7.png" rel="nofollow">this image</a> for a screenshot of the errror).</p>
  
  <p>Can anyone tell me what's wrong in my code? This is in my Webpack configuration:</p>
  
  <pre><code>module.exports = {
      entry:[
      "./src/index.js"
      ],
      output: {
          path: __dirname,
          filename: 'app/js/main.js'
      },
      module: {
          loaders: [
          {
              test: /\.jsx?$/,
              loader: 'babel',
              exclude: /node_modules/
          }
          ]
      }
  }
  </code></pre>
  
  <p>And this is my <code>package.json</code>:</p>
  
  <pre><code>{
    "name": "react",
    "version": "1.0.0",
    "description": "get and display user github info",
    "main": "react.js",
    "scripts": {
      "test": "echo \"Error: no test specified\" &amp;&amp; exit 1"
    },
    "author": "krishna",
    "license": "ISC",
    "devDependencies":{
      "babel-core": "5.8.*",
      "babel-loader": "5.3.*",
      "webpack": "1.12.*",
    },
    "dependencies": {
      "react":"^0.14.7",
      "react-dom":"^0.14.7"
    }
  }
  </code></pre>