title: Command failed with exit code 1: CI= npm run build
body: <p>I've been losing my mind over this <br>
  I've used <a href="https://www.youtube.com/watch?v=hQAu0YEIF0g" rel="nofollow noreferrer">this</a> video as reference but I'm still getting the error below <br>
  I've tried everything from <a href="https://answers.netlify.com/t/netlify-not-building-command-failed-with-exit-code-1-npm-run-build/16999/23" rel="nofollow noreferrer">Netlify Form</a> to <a href="https://www.youtube.com/watch?v=i8jkGjIIHo8" rel="nofollow noreferrer">youtube</a> and <a href="https://stackoverflow.com/questions/67074106/netlify-deploy-error-command-failed-with-exit-code-1-ci-npm-run-build">Stackoverflow</a></p>
  <pre><code>5:33:23 AM: ────────────────────────────────────────────────────────────────
  5:33:23 AM:   &quot;build.command&quot; failed                                        
  5:33:23 AM: ────────────────────────────────────────────────────────────────
  5:33:23 AM: ​
  5:33:23 AM:   Error message
  5:33:23 AM:   Command failed with exit code 1: CI= npm run build
  5:33:23 AM: ​
  5:33:23 AM:   Error location
  5:33:23 AM:   In Build command from Netlify app:
  5:33:23 AM:   CI= npm run build
  5:33:23 AM: ​
  5:33:23 AM:   Resolved config
  5:33:23 AM:   build:
  5:33:23 AM:     command: CI= npm run build
  5:33:23 AM:     commandOrigin: ui
  5:33:23 AM:     publish: /opt/build/repo/dist
  </code></pre>
  <p>My package.json file</p>
  <pre><code>{
    &quot;name&quot;: &quot;testing&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;scripts&quot;: {
      &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;,
      &quot;start&quot;: &quot;./node_modules/.bin/netlify-lambda serve src&quot;,
      &quot;build&quot;: &quot;CI= npm run build&quot;
    },
    &quot;repository&quot;: {
      &quot;type&quot;: &quot;git&quot;,
      &quot;url&quot;: &quot;git+https://github.com/&lt;my-username&gt;/testing.git&quot;
    },
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;bugs&quot;: {
      &quot;url&quot;: &quot;https://github.com/&lt;my-username&gt;/testing/issues&quot;
    },
    &quot;homepage&quot;: &quot;https://github.com/&lt;my-username&gt;/testing#readme&quot;,
    &quot;dependencies&quot;: {
      &quot;express&quot;: &quot;^4.17.1&quot;,
      &quot;netlify-lambda&quot;: &quot;^2.0.6&quot;,
      &quot;serverless-http&quot;: &quot;^2.7.0&quot;
    }
  }
  </code></pre>
  <p>My netlify.toml</p>
  <pre><code>[build]
  
  functions = &quot;functions&quot;
  </code></pre>
  <p>Deployment settings
  <a href="https://i.stack.imgur.com/ac7Di.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ac7Di.png" alt="enter image description here" /></a></p>
  <p>What am I missing? please help I'm losing my hair over this</p>