Closed drusellers closed 7 years ago
PEBKAC
Hi @drusellers, would you mind leaving the solution to whatever your problem was so that it can help others who find this issue? Would save everyone some time and probably pain as well :)
Glad you solved your problem though!
@negativetwelve I had the same issue like @drusellers .
I don't have any foggiest idea, but it doesn't work when I deploy by the command git push heroku-app-name master
. When I deploy manually by the connecting application with github and pushing button deploy
it works properly. Sounds crazy, but it works.
Fun fact - I tested the same behavior with hello world webpack from heroku and I observe the same. Heroku cannot find a file like .buildpacks
in the pushed repository(when I make deploy manually it works properly).
@negativetwelve and @wmaciejak here's what ended up working
cat .buildpacks
depot-ui=https://github.com/heroku/heroku-buildpack-nodejs.git
depot-service=https://github.com/heroku/heroku-buildpack-java.git
THEN in Heroku I needed
The key was adding the "runtime" build pack at the end so its available at run time rather than build time
Hmm interesting, thanks! Did you have some problems with running nodejs process? @drusellers
no i did not - but I only ran it in the "packaging" step vs the run steps - i use node to package my JS
I don't even see the detection. :(
any tips?