I accidentally pushed a build that does an npm install in the postinstall script. This has led to my heroku app being stuck in an infinite install loop. I searched the heroku do
To view all builds run the following in your terminal:
heroku builds -a YOUR_APP_NAME
To cancel a specific (pending) build:
heroku builds:cancel -a YOUR_APP_NAME HEROKU_BUILD_ID
Update (4th July 2020):
If you see the message Warning: builds is not a heroku command
, run heroku plugins:install heroku-builds
and try again.