apz

apz

I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help in understanding. I have not gotten to the stage of writing any code, only browsing to my tutorial folder.

I can see it’s missing asdf, vfox & mise. Asdf seems to be some tool version manager (just what I wanted!) Ok, so is vfox… and mise.

Then it is also asking for SSL. I have tried installing openssl on my system, but it didn’t fix the issue and I don’t feel great about installing a million packages on my sytem hoping for the issue to go away when this was not mentioned in the elixir install instruction (or the tutorial).

I’m not sure what VScode is trying to do right now when I install the extension. I’m guessing that maybe it’s trying to start a erlang vm to be able to run code when I’m ready, or maybe it needs one it to do the linting or something.

I just disabled/enabled the extension on an empty folder and there are no errors. So maybe I can ignore this until later.

If you have any advice to improve my understanding, that would be wonderful. Thanks.

2026-08-31 11:02:57.232 [error] Running /home/apz/.vscode-oss/extensions/elixir-lsp.elixir-ls-0.31.1-universal/elixir-ls-release/launch.sh
2026-08-31 11:02:57.234 [error] Preferred shell is fish, launching launch.fish
2026-08-31 11:02:57.263 [error] Looking for asdf install
2026-08-31 11:02:57.264 [error] which: no asdf in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
2026-08-31 11:02:57.264 [error] asdf not found
2026-08-31 11:02:57.264 [error] Looking for mise executable
2026-08-31 11:02:57.264 [error] which: no mise in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
2026-08-31 11:02:57.264 [error] mise not found
2026-08-31 11:02:57.264 [error] Looking for vfox executable
2026-08-31 11:02:57.265 [error] which: no vfox in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
2026-08-31 11:02:57.265 [error] vfox not found
2026-08-31 11:02:57.882 [error] Installing ElixirLS release v0.31.1
2026-08-31 11:02:57.882 [error] Running in /home/apz/Projects/pragstudio-elixir-code
2026-08-31 11:02:57.935 [error] * Updating elixir_ls (https://github.com/elixir-lsp/elixir-ls.git - v0.31.1)
2026-08-31 11:02:58.607 [error] ** (EXIT from #PID<0.95.0>) an exception was raised:
2026-08-31 11:02:58.607 [error]     ** (Mix.Error) The application "ssl" could not be found. This may happen if your Operating System broke Erlang into multiple packages and may be fixed by installing the missing "erlang-dev" and "erlang-ssl" packages
2026-08-31 11:02:58.607 [error]         (mix 1.20.2) lib/mix.ex:647: Mix.raise/2
2026-08-31 11:02:58.608 [error]         (mix 1.20.2) lib/mix.ex:706: Mix.ensure_application!/4
2026-08-31 11:02:58.608 [error]         (mix 1.20.2) lib/mix.ex:678: Mix.ensure_application!/1
2026-08-31 11:02:58.608 [error]         (mix 1.20.2) lib/mix/utils.ex:864: Mix.Utils.read_httpc/1
2026-08-31 11:02:58.608 [error]         (mix 1.20.2) lib/mix/utils.ex:808: anonymous fn/2 in Mix.Utils.read_path/2
2026-08-31 11:02:58.608 [error]         (elixir 1.20.2) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
2026-08-31 11:02:58.608 [error]         (elixir 1.20.2) lib/task/supervised.ex:40: Task.Supervised.reply/4
2026-08-31 11:02:58.608 [error] 
2026-08-31 11:02:58.616 [error] Server process exited with code 1.
2026-08-31 11:02:58.617 [error] Server initialization failed.

elixir --version
Erlang/OTP 29 [erts-17.0.1] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns]

Elixir 1.20.2 (compiled with Erlang/OTP 29)

7.1.4-1-cachyos

Showing Posts 1 to 3

jam06452

jam06452

It looks like it may not be a complete install of elixir, specifically erlang. I would recommend installing it via mise instead of pacman, I found it to be out of date sometimes. If you want to stick with pacman try running sudo pacman -S erlang This will install erlang and should fix your issue.

widianto

widianto

I think it would be better to install Elixir first.

Then run iex and test it. Once Elixir is running, you can install the Elixir extension on VS Code.

apz

apz OP

Thanks, this was it. I sweat I had installed erlang, but it must have failed last time. Thanks!

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews