With the latest bundling change, is it necessary to add NodeJS buildpack when deploying to Heroku?
I created a new Jumpstart project yesterday, the new features are awesome, especially the js/css bundling change. But when I tried to deploy to Heroku today, I found I had to add a NodeJS buildpack, otherwise the precompile will fail on Heroku (it says yarn is not installed).
If possible I prefer not to add another buildpack, is this unavoidable?
Also, maybe the deploy documentation for JSP needs to be updated with recent changes?
If possible I prefer not to add another buildpack, is this unavoidable?
Also, maybe the deploy documentation for JSP needs to be updated with recent changes?
You can add buildpacks from the app dashboard (even before the first push), or from the command line.
See the documentation here:
https://devcenter.heroku.com/articles/buildpacks#setting-a-buildpack-on-an-application
In the end the buildpacks should look like this:
1. heroku/nodejs
2. heroku/ruby
I am just wondering is the nodejs buildpack really necessary, or is there a setting to avoid adding the buildpack.
Notifications
You’re not receiving notifications from this thread.