title: "sh: 1: react-scripts: not found" after running "npm run build"
body: <p>Having some issues with running a Azure Static Web App that I have cloned from GitHub. Trying to follow these instructions: <a href="https://docs.microsoft.com/en-us/azure/static-web-apps/local-development" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/static-web-apps/local-development</a>. I get the error: <code>sh: 1: react-scripts: not found</code> after running <code>npm run build</code>.</p>
  <p>In the main project folder I ran this:</p>
  <pre><code>npm install -g @azure/static-web-apps-cli
  </code></pre>
  <pre><code>added 198 packages, and audited 199 packages in 31s
  
  32 packages are looking for funding
    run `npm fund` for details
  
  found 0 vulnerabilities
  </code></pre>
  <p>Ran:</p>
  <pre><code>npm run build
  </code></pre>
  <pre><code>&gt; hello@0.1.0 build
  &gt; react-scripts build
  
  sh: 1: react-scripts: not found
  </code></pre>
  <p>What does &quot;sh: 1: react-scripts: not found mean&quot;? How can I fix it?</p>
  <pre><code>npm --version
  8.1.0
  
  node --version
  v16.13.0
  
  nvm --version
  0.39.0
  
  node --version
  v16.13.0
  </code></pre>
  <p>(I realize that I probably haven't included all necessary information to understand the problem, so please tell me what more you need to know.)</p>