title: Error when running Express server using nodemon alongside react dev server
body: <p>I have both the server and client side code in one folder, the react app is in a <code>/client</code> folder in the root of my project, I am not able to run the two servers concurrently. </p>
  
  <p>I used <code>npx create-react-app</code> to set up my react application,     NOTE: using <code>npx</code>, React files are installed using <strong>yarn</strong> when in my server Express app I used <strong>npm</strong>.   I also installed <code>concurrent</code> in my server app to have the two servers running together, but I am getting an unclear error when I try so.</p>
  
  <pre><code>// here is how I put together my scripts in the package.json
    "scripts": {
      "server": "nodemon server.js",
      "client": "yarn start --prefix client",
      "dev": "concurrently  \"npm run server\" \"npm run client\""
  }
  
  // this is my folder structure
  
  ├── node_modules
  ├── client // the client folder is my react app
  ├── config
  ├── models
  ├── routes
  ├── validation
  ├─package.json
  ├─server.js
  </code></pre>
  
  <p>here is a screenshot to the <a href="https://imgur.com/a/gNzn6md" rel="nofollow noreferrer">error</a> I am getting.<br>
  please ask for more info about the code if needed, thanks in advance.</p>