title: Node.js Cannot Find Module error on npm start
body: <p>I am getting an error like the below when I run <code>npm start</code> command to start the server for my first react project. I have tried uninstalling and reinstalling the node.js but did not work. How can I resolve this issue? I am including my <code>package.json</code> and my directory structure over here.</p>
  <p>This is the error:</p>
  <pre><code>    &gt; reactproject1@1.0.0 start C:\Users\LENOVO\reactproject1
      &gt; node index.js
      
      internal/modules/cjs/loader.js:969
        throw err;
        ^
      
      Error: Cannot find module 'C:\Users\LENOVO\reactproject1\index.js'
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
          at Function.Module._load (internal/modules/cjs/loader.js:842:27)
          at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
          at internal/main/run_main_module.js:17:47 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! reactproject1@1.0.0 start: `node index.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the reactproject1@1.0.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     C:\Users\LENOVO\AppData\Roaming\npm-cache\_logs\2020-07-18T09_12_04_972Z-debug.log
      
      
      
  </code></pre>
  <p>This is my <code>package.json</code> file of my react project. I have edited it by adding <code>&quot;start&quot;:&quot;node index.js&quot;</code>.</p>
  <pre class="lang-js prettyprint-override"><code>{
    &quot;name&quot;: &quot;reactproject1&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;restropart&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;scripts&quot;: {
      &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;,
      &quot;start&quot;: &quot;node index.js&quot;
    },
  
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;dependencies&quot;: {
      &quot;react&quot;: &quot;^16.13.1&quot;,
      &quot;react-dom&quot;: &quot;^16.13.1&quot;
    }
  }
  </code></pre>
  <p>My Directory tree is as follows</p>
  <pre><code>-ReactProject
    -node_modules
    -public
    -src
      -&gt;index.js
    -package.json
    -package-lock.json
  </code></pre>
  <p>My <code>index.js</code> file resides inside the <code>src</code> folder. The <code>node_modules</code>, <code>public</code>, <code>src</code>, <code>package.json</code> and <code>package-lock.json</code> files are on the same line.</p>