title: Heroku NodeJs Stuck in Build in Progress
body: <p>I created a test-backend with NodeJs and tried to deploy it to Heroku.</p>
  <p>I followed the instructions and the command git push heroku master was successful.</p>
  <p>The app should have been deployed, but instead it is stuck in &quot;Build in progress&quot;, as you see here:</p>
  <p><a href="https://i.stack.imgur.com/EUKxu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EUKxu.png" alt="Stuck in build in progress" /></a></p>
  <p>The last lines shown in the build log are:</p>
  <pre><code>-----&gt; Build
     Running build
     
     &gt; test-backend@1.0.0 build /tmp/build_2dd56f0f
     &gt; tsc -w
     
     c2:11:15 AM - Starting compilation in watch mode...
     
     
     2:11:19 AM - Found 0 errors. Watching for file changes.
  </code></pre>
  <p>It seems that Heroku is running my build script, I don't know why and why is it a problem.</p>
  <p>My package.json scripts are as follow:</p>
  <pre><code> &quot;scripts&quot;: {
      &quot;dev&quot;: &quot;ts-node-dev src/index.ts&quot;,
      &quot;lint&quot;: &quot;ts-standard&quot;,
      &quot;build&quot;: &quot;tsc -w&quot;,
      &quot;start&quot;: &quot;nodemon build/index.js&quot;,
      &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;
    },
  </code></pre>
  <p>Any idea of what is happening?</p>