newsdev / driveshaft

Google Drive → JSON → S3
https://newsdev.github.io/driveshaft/
Other
74 stars 8 forks source link

static assets not generated during build on Heroku #32

Closed greglinch closed 7 years ago

greglinch commented 7 years ago

Any suggestions for making sure static assets are generated as part of the build process on Heroku?

screen shot 2017-03-13 at 3 27 03 pm

The cause seems to be that the Node buildpack wasn't executed on initial deployment:

remote:  ! Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
remote: Detected buildpacks: Ruby,Node.js
remote: See https://devcenter.heroku.com/articles/buildpacks#buildpack-detect-order
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rack

The build was initiated via Heroku CLI because the Deploy to Heroku button build process repeatedly failed. Thanks!

greglinch commented 7 years ago

I fixed this by adding the Node.js buildpack in the settings admin and re-deploying.