title: Module build failed , Duplicate declaration
body: <p>I am following Microsoft Tutorial regarding React JS, in the first part, the example has an app.js are rendering through react to an index.html, before that i need to run the start-webpack-server to setup the localhost8080. but i cant get through this, after \ npm run start-webpack-server, i got error as:</p>
  
  <p>Duplicate declaration "InboxPane"</p>
  
  <p>the code is as follows:</p>
  
  <p>app.js</p>
  
  <pre><code>var React = require('react');
  var ReactDOM = require('react-dom');
  import InboxPane  from './../../../../05_ES6/Code/fork-es6/app/components/InboxPane';
  
  var App = React.createClass({
      render: function(){
  
          return (
              &lt;div&gt;
               &lt;div id = 'header'&gt; &lt;/div&gt;
               &lt;div className = "container"&gt; 
                   &lt;div className = "column"&gt;
                   &lt;InboxPane /&gt; 
                   &lt;/div&gt;
               &lt;/div&gt;
              &lt;/div&gt;
          )
      }
  
  });
  
  var InboxPane = React.createClass ({
      render: function(){
          return (
              &lt;div id = 'inbox-pane'&gt;
                  &lt;h1&gt;Inbox&lt;/h1&gt;
              &lt;/div&gt;
          )
      }
  
  });
  
  ReactDOM.render(&lt;App /&gt;, document.getElementById('main'));
  </code></pre>
  
  <p>index.html </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;title&gt;Pizza Chain Bot Manager&lt;/title&gt;
    &lt;link rel="stylesheet" href="/app/app.css"&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id="main"&gt;
    &lt;/div&gt;
  
    &lt;script src="/bundle.js"&gt;&lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>error message on command line after npm run start-webpack-server:</p>
  
  <pre><code>ERROR in ./app/app.js
  Module build failed: 
  C:/ReactMVA master/02_ReactIntroduction/Code/start/app/app.js: Duplicate 
    declaration "InboxPane"
  
       20 | });
    21 |
  &gt; 22 | var InboxPane = React.createClass ({
       |     ^
    23 |     render: function(){
    24 |         return (
    25 |             &lt;div id = 'inbox-pane'&gt;
  
   @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-
   server ./index.html ./app.js
    webpack: Failed to compile.
  </code></pre>