title: How to resolve sh: react-scripts: command not found?
body: <p>I used create-react-app to generate an app.</p>
  
  <pre><code>create-react-app myapp
  </code></pre>
  
  <p>When I run yarn start or npm start I get this error:</p>
  
  <blockquote>
    <blockquote>
      <p>react-scripts start</p>
    </blockquote>
    
    <p>sh: react-scripts: command not found npm ERR! file sh npm ERR! code
    ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR!
    myapp@0.1.0 start: <code>react-scripts start</code> npm ERR! spawn ENOENT npm
    ERR!  npm ERR! Failed at the myapp@0.1.0 start script. npm ERR! This
    is probably not a problem with npm. There is likely additional logging
    output above.</p>
  </blockquote>
  
  <p>When I run npm ls react:</p>
  
  <pre><code>myapp@0.1.0 /Users/johnno/foosball 
  └── react@16.2.0
  </code></pre>
  
  <p>react-scripts is present.</p>
  
  <p>This is my package.json:</p>
  
  <pre><code>{
    "name": "myapp",
    "version": "0.1.0",
    "private": true,
    "dependencies": {
      "react": "^16.2.0",
      "react-dom": "^16.2.0",
      "react-redux": "^5.0.6",
      "react-router": "^4.2.0",
      "react-scripts": "1.0.17",
      "redux": "^3.7.2",
      "yarn": "^1.3.2"
    },
    "scripts": {
      "start": "react-scripts start",
      "build": "react-scripts build",
      "test": "react-scripts test --env=jsdom",
      "eject": "react-scripts eject"
    }
  }
  </code></pre>
  
  <p>I tried the suggestions from <a href="https://stackoverflow.com/questions/40546231/sh-react-scripts-command-not-found-after-running-npm-start">this</a> but to no avail. How can I fix this issue?</p>