DinaTTomoum

DinaTTomoum

Ecto.Adapters.Postgres was not compiled

“(ArgumentError) adapter Ecto.Adapters.Postgres was not compiled, ensure it is correct and it is included as a project dependency”

I urgently need help in the Phoenix and postgres installations, something went wrong with postgres dependency when I tried to mix ecto.create , then I attempted to correct it (i changed in the mix.exs to {:postgrex, ">= 0.10.0"},.. still not working), but other errors appeared. Would it be possible to guide me? Or even advise on how to uninstall the whole set, so I can do it from the beginning?

Also another problem appeared regarding erlang/OTP (it appears in the same screenshot on the right bottom.

Thank you , and hope I am not causing any inconvenience

Marked As Solved

NobbZ

NobbZ

The warning in the lower right can be fixed by installing a version of elixir that has been compiled with an erlang version >= 20. How to do this depends on your system and how you installed elixir and erlang originally.

I can’t help you with the other error though.

Also Liked

peerreynders

peerreynders

```plain
iex(9)> Pushbutton.push()     
** (exit) exited in: :gen_statem.call(:pushbutton_statem, :push, :infinity) 
    ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
    (stdlib) gen.erl:228: :gen.do_for_proc/2
    (stdlib) gen_statem.erl:598: :gen_statem.call_dirty/4
iex(9)> 
```

Images are often hard to read, don’t necessarily contain all of the relevant information and are not mobile friendly.

  • Now what exactly are the details of installation/configuration? From the C:\Users\ path I suspect that you are using some version of MS Windows (hopefully 10) - if so, prefix the topic like this “Windows 10: Ecto.Adapters.Postgres was not compiled” as to attract the attention of forum members who actually develop on Windows.
    (Aside: In the days of Windows 7 I came to the conclusion that Windows got in the way more often than not for non-Microsoft centric web development - so I switched platforms)

  • What was the installation process you’ve followed (if you used a package manager - which one)?

    • Which version of Erlang is installed? (your Elixir was complied with 19 - but what is actually installed)
    • Which version of Elixir is installed?
    • Which version of Phoenix do you have installed?
    • What version of Ecto are you trying to use?

When things go wrong, things tend to get complicated fast.

Where Next?

Popular in Questions Top

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
dotdotdotPaul
Okay, I’m having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I’m sure I’...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
earth10
Hi, I’m just starting to build a side-project with Elixir and Phoenix and doing some basic test with Elixir alone. What strikes me is th...
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
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New

Other popular topics Top

hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
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
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New

We're in Beta

About us Mission Statement