Awlexus

Awlexus

Heroku buildpack config file not found, even though it's in the project root

I’m trying to use a custom elixir_buildpack.config. I placed it into the root directory as it is written in the readme and commit the file yet, when I push to heroku it can’t seem to find the file

project $ tree -L 1
.
├── _build
├── config
├── deps
├── elixir_buildpack.config
├── lib
├── mix.exs
├── mix.lock
├── priv
├── Procfile
├── README.md
└── test

6 directories, 5 files
project $ git ls-files --error-unmatch elixir_buildpack.config
elixir_buildpack.config
Did I misunderstand something from the readme?

Copied from

Most Liked

lancejjohnson

lancejjohnson

@shijith.k I’m not sure if this is still relevant to you or not but I ran into the same issue today. Awlexus’s catch about the branch pointed me in the right direction. I was on a branch heroku-setup and had added the buildpack config file while on that branch. I ran git push heroku master which caused the failure. I needed to specify that I was pushing my local heroku-setup branch to the heroku remote’s master branch. In other words, I need to run git push heroku heroku-setup:master. Hope that helps if it’s still relevant.

Awlexus

Awlexus

Thank you for your assistance I was finally able to find out what the issue was. Turns out that the config file was always there, but just not on the correct git branch :sweat_smile:

Where Next?

Popular in Questions Top

yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
LegitStack
I’m hoping you guys can give me some general advice and perhaps code examples if you’re feeling up to it. I’m very interested in Elixir,...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
New
Kagamiiiii
Student & New to elixir. Nice language. I want to convert a english character, e.g. “a”, which is stored in a variable, to it’s asci...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
Codball
Mix format works fine if run from the cmd. I’ve followed this to facilitate the implementation into VSC which involves downloading an ext...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

Other popular topics Top

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list....
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New

We're in Beta

About us Mission Statement