title: "sh: 1: react-scripts: not found" In Docker
body: <p>I have a Docker container that fails to do a npm install for a react.js app that is cloned in the container when it is built. Would anybody know how to resolve the issue?</p>
  
  <p>Error:</p>
  
  <pre><code>sh: 1: react-scripts: not found
  npm ERR! file sh
  npm ERR! code ELIFECYCLE
  npm ERR! errno ENOENT
  npm ERR! syscall spawn
  npm ERR! myrideweb@0.1.0 build: `react-scripts build`
  npm ERR! spawn ENOENT
  npm ERR! 
  npm ERR! Failed at the myrideweb@0.1.0 build script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  npm WARN Local package.json exists, but node_modules missing, did you mean to install?
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /root/.npm/_logs/2018-06-19T04_00_09_065Z-debug.log
  </code></pre>
  
  <p>Dockerfile:</p>
  
  <pre><code>FROM ubuntu
  
  Run apt-get update
  
  Run apt-get install curl -y
  
  Run curl -sL https://deb.nodesource.com/setup_10.x
  
  Run apt-get install -y nodejs
  
  Run apt-get install -y git
  
  Run apt-get install npm -y
  
  Run apt-get update -y
  
  Run git clone https://github.com/sdrafahl/TerraWeb.git
  
  WORKDIR /TerraWeb
  
  Run npm install -g --save npm@latest
  
  ...
  </code></pre>