title: Discord app error R10 when deploying with Heroku
body: <p>I tried to deploy my discord bot made with Node.js to Heroku, the build is successful but the app crashes and throws an error:</p>
  
  <pre class="lang-none prettyprint-override"><code>Error R10 (Boot timeout)
  Web process failed to bind to $PORT within 60 seconds of launch
  </code></pre>
  
  <p>My <code>Procfile</code>:</p>
  
  <pre><code>web: node app.js
  </code></pre>
  
  <p><code>package.json</code>:</p>
  
  <pre><code>{
    "name": "bot",
    "version": "5.0",
    "description": "Discord Bot",
    "main": "app.js",
    "scripts": {
      "start": "node app.js"
    },
    "author": "me",
    "license": "MIT",
    "dependencies": {
      "discord.js": "^11.3.2",
      "ffmpeg-binaries": "^3.2.2-3",
    }
  }
  </code></pre>
  
  <p>My app takes a few seconds to launch localy.</p>
  
  <p>How can I fix this?</p>