Closed cblavier closed 4 years ago
Same issue, I belileve the faulty code is located here: https://github.com/gjaldon/heroku-buildpack-phoenix-static/blob/497cb019a72f2ebf243327f114ea5e276eec7309/lib/build.sh#L144
So my quick investigation leads to temporary workaround:
gigalixir config:set --app_name=xxx NPM_TOKEN=""
or
heroku config:set --app=xxx NPM_TOKEN=""
depending on where you run the thing. This creates empty env variable, which then creates this missing file.
This probably should still be fixed in the buildpack but leaving this as workaround for other folks because I am just that good of a person.
Since today, my build is failing with following error. I don't really know why it's starting bothering me with NPM_TOKEN since we don't have any private npm dependency... 🤔