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
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
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
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
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.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









