title: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
body: <p>I am trying to run  a react application in my local machine , I get this error when I ran 
  <code>npm run start</code>:</p>
  
  <pre><code>&gt; node scripts/start.js
  
  internal/validators.js:125
      throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
      ^
  
  TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
      at validateString (internal/validators.js:125:11)
      at Object.resolve (path.js:161:7)
      at resolveApp (D:\Projects\react-app\react-site-master\config\paths.js:10:41)
      at Object.&lt;anonymous&gt; (D:\Projects\react-app\react-site-master\config\paths.js:73:13)
      at Module._compile (internal/modules/cjs/loader.js:776:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
      at Module.load (internal/modules/cjs/loader.js:653:32)
      at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      at Module.require (internal/modules/cjs/loader.js:690:17)
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! glc2@0.1.5 start: `node scripts/start.js`
  npm ERR! Exit status 1
  </code></pre>
  
  <p>I have tried to do the following but it is the same:</p>
  
  <ol>
  <li>npm cache clean --force</li>
  <li>delete node_modules with package-lock.json</li>
  <li>npm install </li>
  </ol>
  
  <p>Thanks in advance,</p>