1

I'm trying to deploy a Rails 5 application on Heroku. It comes to the Download Yarn at https://yarnpkg.com/en/docs/install step, then it seems to get stuck for about 30 minutes. Then it shows Timed out running buildpack Ruby and process is killed by SIGTERM

Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install
-----> Timed out running buildpack Ruby
!
!     SIGTERM
!
!     Push failed

Anyone knows how to fix this? Thanks

Zack Xu
  • 11,505
  • 9
  • 70
  • 78

1 Answers1

0

Use the following buildpack: https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-apt

Create a Aptfile with the content yarn.

Tin Nguyen
  • 5,250
  • 1
  • 12
  • 32