title: 'react-scripts' is not recognized as an internal or external command
body: <p>I've got a maven project, within which is JavaScript project cloned as a git sub-module. So the directory structure looks like <code>mavenapp/src/main/javascript/[npm project files]</code></p>
  <p>Inside my package.json, the test looks like this:</p>
  <pre><code>&quot;test&quot;: &quot;react-scripts test --env=jsdom&quot;,
  </code></pre>
  <p>but when I try to run <code>npm test</code>, it says</p>
  <blockquote>
  <p>'react-scripts' is not recognized as an internal or external command,</p>
  </blockquote>
  <p>Interestingly, when I clone the javascript project independently I don't get this error. I've tried re-running <code>npm install</code>.</p>
  <p>NPM version: 5.5.1<br />
  Node.js version: 9.3.0</p>