title: Heroku web: Failed at start script
body: <p>I'm getting this</p>
  <blockquote>
  <p>Failed at the sequelize-demo@1.0.0 start script.</p>
  </blockquote>
  <p>when deploying an express + react app. I think heroku is having an issue with <code>concurrently</code>.</p>
  <p><a href="https://i.stack.imgur.com/BEuZL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BEuZL.png" alt="enter image description here" /></a></p>
  <p>What could i be doing wrong ? i referenced <a href="https://stackoverflow.com/questions/40347079/heroku-returns-process-exited-with-status-143">this</a>, but the solution was a bit irrelevant to this application</p>
  <p>Also referencing this</p>
  <p><a href="https://medium.freecodecamp.org/how-to-deploy-a-react-app-with-an-express-server-on-heroku-32244fe5a250" rel="nofollow noreferrer">https://medium.freecodecamp.org/how-to-deploy-a-react-app-with-an-express-server-on-heroku-32244fe5a250</a></p>
  <p><strong>Root folder package.json</strong></p>
  <pre><code>{
    &quot;name&quot;: &quot;sequelize-demo&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;client-install&quot;: &quot;npm install --prefix client&quot;,
      &quot;build&quot;: &quot;concurrently \&quot;cd client &amp;&amp; npm run build\&quot; \&quot;npm build \&quot;&quot;,
      &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;,
      &quot;client&quot;: &quot;cd ./client &amp;&amp; npm start &quot;,
      &quot;server-prod&quot;: &quot;node app.js&quot;,
      &quot;server&quot;: &quot;nodemon app.js&quot;,
      &quot;start&quot;: &quot;concurrently --kill-others  \&quot;npm run client\&quot; \&quot;npm run server\&quot; &quot;,
      &quot;heroku-postbuild&quot;: &quot;NPM_CONFIG_PRODUCTION=false npm install --prefix client &amp;&amp; npm run build --prefix client&quot;
    },
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;dependencies&quot;: {
      &quot;async&quot;: &quot;^2.6.1&quot;,
      &quot;bcrypt&quot;: &quot;^3.0.2&quot;,
      &quot;body-parser&quot;: &quot;^1.18.3&quot;,
      &quot;concurrently&quot;: &quot;^4.1.0&quot;,
      &quot;cookie-parser&quot;: &quot;^1.4.3&quot;,
      &quot;cookie-session&quot;: &quot;^2.0.0-beta.3&quot;,
      &quot;cors&quot;: &quot;^2.8.5&quot;,
      &quot;crypto&quot;: &quot;^1.0.1&quot;,
      &quot;dotenv&quot;: &quot;^7.0.0&quot;,
      &quot;express&quot;: &quot;^4.16.4&quot;,
      &quot;express-flash&quot;: &quot;0.0.2&quot;,
      &quot;express-session&quot;: &quot;^1.15.6&quot;,
      &quot;foreman&quot;: &quot;^3.0.1&quot;,
      &quot;jsonwebtoken&quot;: &quot;^8.4.0&quot;,
      &quot;morgan&quot;: &quot;^1.9.1&quot;,
      &quot;nodemailer&quot;: &quot;^5.1.1&quot;,
      &quot;nodemon&quot;: &quot;^1.18.9&quot;,
      &quot;passport&quot;: &quot;^0.4.0&quot;,
      &quot;passport-github&quot;: &quot;^1.1.0&quot;,
      &quot;passport-github2&quot;: &quot;^0.1.11&quot;,
      &quot;passport-jwt&quot;: &quot;^4.0.0&quot;,
      &quot;passport-local&quot;: &quot;^1.0.0&quot;,
      &quot;pg&quot;: &quot;7.9.0&quot;,
      &quot;pg-hstore&quot;: &quot;^2.3.2&quot;,
      &quot;sequelize&quot;: &quot;^4.42.0&quot;,
      &quot;sequelize-cli&quot;: &quot;^5.4.0&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;chai&quot;: &quot;^4.2.0&quot;,
      &quot;mocha&quot;: &quot;^6.1.2&quot;
    }
  }
  </code></pre>
  <p><strong>client/package.json</strong></p>
  <pre><code>{
    &quot;name&quot;: &quot;client&quot;,
    &quot;version&quot;: &quot;0.1.0&quot;,
    &quot;private&quot;: true,
    &quot;proxy&quot;: &quot;http://localhost:8000&quot;,
    &quot;dependencies&quot;: {
      &quot;@material-ui/core&quot;: &quot;^3.9.1&quot;,
      &quot;@material-ui/icons&quot;: &quot;^3.0.2&quot;,
      &quot;axios&quot;: &quot;^0.18.0&quot;,
      &quot;history&quot;: &quot;^4.7.2&quot;,
      &quot;http-proxy-middleware&quot;: &quot;^0.19.1&quot;,
      &quot;jsonwebtoken&quot;: &quot;^8.4.0&quot;,
      &quot;jwt-decode&quot;: &quot;^2.2.0&quot;,
      &quot;material-ui-icons&quot;: &quot;^1.0.0-beta.36&quot;,
      &quot;moment&quot;: &quot;^2.24.0&quot;,
      &quot;react&quot;: &quot;^16.7.0&quot;,
      &quot;react-dom&quot;: &quot;^16.7.0&quot;,
      &quot;react-redux&quot;: &quot;^6.0.0&quot;,
      &quot;react-router-dom&quot;: &quot;^4.3.1&quot;,
      &quot;react-scripts&quot;: &quot;2.1.3&quot;,
      &quot;redux&quot;: &quot;^4.0.1&quot;,
      &quot;redux-thunk&quot;: &quot;^2.3.0&quot;,
      &quot;superagent&quot;: &quot;^4.1.0&quot;
    },
    &quot;scripts&quot;: {
      &quot;start&quot;: &quot;react-scripts start&quot;,
      &quot;build&quot;: &quot;react-scripts build&quot;,
      &quot;test&quot;: &quot;react-scripts test&quot;,
      &quot;eject&quot;: &quot;react-scripts eject&quot;,
      &quot;heroku-postbuild&quot;: &quot;npm run build&quot;
    },
    
    &quot;eslintConfig&quot;: {
      &quot;extends&quot;: &quot;react-app&quot;
    },
    &quot;browserslist&quot;: [
      &quot;&gt;0.2%&quot;,
      &quot;not dead&quot;,
      &quot;not ie &lt;= 11&quot;,
      &quot;not op_mini all&quot;
    ],
    &quot;devDependencies&quot;: {
      &quot;dotenv&quot;: &quot;^6.2.0&quot;
    }
  }
  </code></pre>
  <p><strong>Profile</strong></p>
  <pre><code>web: npm run start
  </code></pre>
  <p><strong>Log</strong></p>
  <blockquote>
  <p>Users db and user table have been created</p>
  <p>State changed from starting to up</p>
  <p>Something is already running on port 32000.</p>
  <p>npm run client exited with code 0</p>
  <p>Sending SIGTERM to other processes..</p>
  <p>npm run server exited with code SIGTERM  `</p>
  <p>npm ERR! sequelize-demo@1.0.0 start: <code>concurrently --kill-others  &quot;npm run client&quot; &quot;npm run server&quot; </code></p>
  <p>npm ERR! Exit status 1 2019-04-11T07:26:41.326088+00:00 app[web.1]:</p>
  <p>npm ERR!  2019-04-11T07:26:41.326282+00:00 app[web.1]:</p>
  <p>npm ERR! Failed at the sequelize-demo@1.0.0 start script.</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/ncgcK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ncgcK.png" alt="enter image description here" /></a></p>