pedromvieira

pedromvieira

Installing phoenix in asdf-elixir

It fixed Erlang / Elixir, but I couldnt install correctly Phoenix.
Did you succeed?
Some of my deps like apartmentex that depends on ecto can’t compile.

I did try normal url and local file to install Phoenix.
Erlang, Nodejs & Elixir last versions from ASDF. (including that PR)

Mac OS High Sierra last beta.

First Post!

NobbZ

NobbZ

What command do you use to install Phoenix and what error messages do you get? What are your erlang and elixir versions?

Most Liked

AlchemistCamp

AlchemistCamp

I made an asdf quickstart tutorial a while back that goes through installing languages and Phoenix. I still use it when setting up new machines.

It might help as a quick check to see if there’s something you’re missing.

pedromvieira

pedromvieira

Erlang 20 with RP.
Elixir 1.5.1.

Remote
mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez
Are you sure you want to replace it with “https://github.com/phoenixframework/archives/raw/master/phx_new.ez”? [Yn] Y
* creating .asdf/installs/elixir/1.5.1/.mix/archives/phx_new

ls .asdf/installs/elixir/1.5.1/.mix/archives/phx_new/phx_new/ebin/
Elixir.Mix.Tasks.Local.Phoenix.beam Elixir.Phx.New.Generator.beam
Elixir.Mix.Tasks.Local.Phx.beam Elixir.Phx.New.Project.beam
Elixir.Mix.Tasks.Phoenix.New.beam Elixir.Phx.New.Single.beam
Elixir.Mix.Tasks.Phx.New.Ecto.beam Elixir.Phx.New.Umbrella.beam
Elixir.Mix.Tasks.Phx.New.Web.beam Elixir.Phx.New.Web.beam
Elixir.Mix.Tasks.Phx.New.beam phx_new.app
Elixir.Phx.New.Ecto.beam

Local
mix archive.install ~/phx_new.ez

No mix phoenix tasks populated in mix help.

NobbZ

NobbZ

Then create properly filled .tool-versions file in your project root as described in asdfs README:

https://github.com/asdf-vm/asdf#the-tool-versions-file

Maybe you can also set a global version as you require it via asdf global elixir 1.5.1.

Where Next?

Popular in Questions Top

joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
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
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
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
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

Other popular topics Top

minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
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
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
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
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
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

We're in Beta

About us Mission Statement