title: sh: 1: nuxt: not found (Heroku/Nuxt)
body: <p>I've got a problem, I'm finally deploying a server-side nuxt app (with an express server) I've created to Heroku. The build succeeds but then when it tries to start it gives me:</p>
  <pre><code>2021-07-29T18:13:38.000000+00:00 app[api]: Build succeeded
  2021-07-29T18:13:42.050534+00:00 heroku[web.1]: Process exited with status 1
  2021-07-29T18:13:42.139623+00:00 heroku[web.1]: State changed from starting to crashed
  2021-07-29T18:13:41.793565+00:00 app[web.1]: 
  2021-07-29T18:13:41.793587+00:00 app[web.1]: &gt; nuxt-express@1.0.0 start /app
  2021-07-29T18:13:41.793588+00:00 app[web.1]: &gt; nuxt start
  2021-07-29T18:13:41.793588+00:00 app[web.1]:
  2021-07-29T18:13:41.814774+00:00 app[web.1]: sh: 1: nuxt: not found
  2021-07-29T18:13:41.822159+00:00 app[web.1]: npm ERR! code ELIFECYCLE
  2021-07-29T18:13:41.822579+00:00 app[web.1]: npm ERR! syscall spawn
  2021-07-29T18:13:41.822774+00:00 app[web.1]: npm ERR! file sh
  2021-07-29T18:13:41.823001+00:00 app[web.1]: npm ERR! errno ENOENT
  2021-07-29T18:13:41.834748+00:00 app[web.1]: npm ERR! nuxt-express@1.0.0 start: `nuxt start`
  2021-07-29T18:13:41.834966+00:00 app[web.1]: npm ERR! spawn ENOENT
  2021-07-29T18:13:41.835206+00:00 app[web.1]: npm ERR!
  2021-07-29T18:13:41.835433+00:00 app[web.1]: npm ERR! Failed at the nuxt-express@1.0.0 start script.
  </code></pre>
  <p>I'm not sure where i'm going wrong with this. Do I have to build it before deploying with the Heroku cli? Is it a problem with my express server (since it's saying it failed at nuxt-express. I'm just not sure whats going on, if anyone could be of help it would greatly assist me! Thanks!</p>
  <p>Here is my <strong>package.json</strong> if it helps:</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;name&quot;: &quot;p-live&quot;,
      &quot;version&quot;: &quot;1.0.0&quot;,
      &quot;private&quot;: true,
      &quot;scripts&quot;: {
      &quot;dev&quot;: &quot;nuxt&quot;,
      &quot;build&quot;: &quot;nuxt build&quot;,
      &quot;start&quot;: &quot;nuxt start&quot;,
      &quot;generate&quot;: &quot;nuxt generate&quot;,
      &quot;heroku-postbuild&quot;: &quot;npm run build&quot;
      },
      &quot;dependencies&quot;: {
      &quot;@nuxt/http&quot;: &quot;latest&quot;,
      &quot;@nuxtjs/firebase&quot;: &quot;^7.5.0&quot;,
      &quot;cookie-universal-nuxt&quot;: &quot;^2.1.5&quot;,
      &quot;dotenv&quot;: &quot;^10.0.0&quot;,
      &quot;express&quot;: &quot;latest&quot;,
      &quot;firebase&quot;: &quot;^8.3.1&quot;,
      &quot;jsforce&quot;: &quot;^1.10.1&quot;,
      &quot;nuxt&quot;: &quot;latest&quot;
      },
      &quot;devDependencies&quot;: {
      &quot;@nuxtjs/moment&quot;: &quot;^1.6.1&quot;,
      &quot;@nuxtjs/pwa&quot;: &quot;^3.3.5&quot;,
      &quot;@nuxtjs/tailwindcss&quot;: &quot;^3.4.2&quot;,
      &quot;@tailwindcss/custom-forms&quot;: &quot;^0.2.1&quot;,
      &quot;@tailwindcss/postcss7-compat&quot;: &quot;^2.0.3&quot;,
      &quot;autoprefixer&quot;: &quot;^9.8.6&quot;,
      &quot;babel-eslint&quot;: &quot;^10.1.0&quot;,
      &quot;eslint&quot;: &quot;^7.20.0&quot;,
      &quot;eslint-plugin-nuxt&quot;: &quot;^2.0.0&quot;,
      &quot;postcss&quot;: &quot;^7.0.35&quot;,
      &quot;tailwindcss&quot;: &quot;npm:@tailwindcss/postcss7-compat@^2.0.3&quot;
      }
  }
  </code></pre>