hello.
My project is using phoenix with absinthe as backend server.
I am trying to heroku using this guide
I added these two build packs
1. https://github.com/HashNuke/heroku-buildpack-elixir.git
2. https://github.com/gjaldon/heroku-buildpack-phoenix-static.git
And tried to deploy with
git push heroku mastter
But I got this error
Detecting assets directory
remote: WARNING: no package.json detected in root nor custom directory
remote: * assuming phoenix 1.3.x and later, please check config file
remote: Will use phoenix configuration:
-----> Building dependencies
remote: /app/tmp/buildpacks/abc8fb9e8be131ec2574c4ba9e31b81540d97b3bbce47d96e05959c4f81404ac71605dd35ebbcf7a1abe958c346d8ee266ff035de9254424eb54e8b9480059be/lib/build.sh: line 118: cd: /tmp/build_d73192
04b17d896c73c2ff3b30ea73db/./assets: No such file or directory
remote: ! Push rejected, failed to compile Phoenix app.
remote:
remote: ! Push failed
I think this is because of that I don’t have assets directory.
What can I do? I need to do custom build packs?