Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Heroku nodejs buildpack #874

Merged
merged 1 commit into from
Apr 4, 2018
Merged

Add Heroku nodejs buildpack #874

merged 1 commit into from
Apr 4, 2018

Conversation

monfresh
Copy link
Member

@monfresh monfresh commented Apr 4, 2018

Why: After upgrading to the latest webpacker, assets failed to compile on Heroku. This issue says you need to add the nodejs buildpack: rails/webpacker#739

I also removed unnecessary items from app.json.

@monfresh monfresh temporarily deployed to ohana-web-search-demo-pr-874 April 4, 2018 02:39 Inactive
@coveralls
Copy link

coveralls commented Apr 4, 2018

Coverage Status

Coverage remained the same at 98.251% when pulling 84d7d60 on mb-update-app-json into 093dd8d on master.

@monfresh monfresh temporarily deployed to ohana-web-search-demo-pr-874 April 4, 2018 02:55 Inactive
@monfresh monfresh temporarily deployed to ohana-web-search-demo-pr-874 April 4, 2018 03:16 Inactive
**Why**: After upgrading to the latest webpacker, assets failed to
compile on Heroku. This issue says you need to add the nodejs buildpack:
rails/webpacker#739

Make sure the nodejs buildpack comes before the ruby one.
For existing apps, this can be done like so:
heroku buildpacks:add heroku/nodejs -i 1 -a your_app_name

I also removed unnecessary items from app.json.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants