Trolleger

Trolleger

Recently I’ve been getting errors with Elixir LS, they sort of went away after removing deps and the elixir ls folder at first but now I think it’s literally broken. and I don’t know why

So when the extension tries to start up it gives

Running /home/andrew/.vscode-server/extensions/jakebecker.elixir-ls-0.30.0/elixir-ls-release/launch.sh
Preferred shell is zsh, relaunching
Looking for asdf install
asdf not found
Looking for mise executable
mise not found
Looking for vfox executable
vfox not found
init terminating in do_boot ({undef,[{elixir,start_cli,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done
[Error - 6:36:49 PM] Server process exited with code 1.
[Error - 6:36:50 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 6:36:50 PM] Connection to server got closed. Server will restart.
true
[Error - 6:36:50 PM] ElixirLS - BetterDiscord client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
Running /home/andrew/.vscode-server/extensions/jakebecker.elixir-ls-0.30.0/elixir-ls-release/launch.sh
Preferred shell is zsh, relaunching
Looking for asdf install
asdf not found
Looking for mise executable
mise not found
Looking for vfox executable
vfox not found
init terminating in do_boot ({undef,[{elixir,start_cli,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

And I do believe that I have the proper things installed as shown by the following commands,

~/projects/BetterDiscord on master *1 !1 ?1 ❯ where elixir                                                                                                                at 18:38:14
/home/andrew/.local/share/mise/installs/elixir/1.18.4/bin/elixir
/mnt/c/ProgramData/chocolatey/lib/Elixir/tools/bin/elixir
~/projects/BetterDiscord on master *1 !1 ?1 ❯ elixir --version                                                                                                            at 18:38:19
Erlang/OTP 27 [erts-15.2.7.1] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit:ns]

Elixir 1.18.4 (compiled with Erlang/OTP 25)
~/projects/BetterDiscord on master *1 !1 ?1 ❯ where erl                                                                                                                   at 18:38:22
/home/andrew/.local/share/mise/installs/erlang/27.3.4.2/bin/erl
/usr/bin/erl
/bin/erl
~/projects/BetterDiscord on master *1 !1 ?1 ❯ erl --version                                                                                                               at 18:38:25
Erlang/OTP 27 [erts-15.2.7.1] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit:ns]

Eshell V15.2.7.1 (press Ctrl+G to abort, type help(). for help)
1> 

maybe the issue is confliction? Because what happens for me at least is when I mise implode and remove and run elixir –version I get a similar thing like the init terminating But honestly I’m no elixir expert so I ask unto you guys for help and what I can do

~/projects/BetterDiscord on master *1 !1 ?1 ❯ mise implode                                                                                                        took 5s at 18:38:35
remove /home/andrew/.local/state/mise ? Yes
remove /home/andrew/.local/share/mise ? Yes
remove /home/andrew/.cache/mise ? Yes
remove /home/andrew/.local/bin/mise ? Yes
_mise_hook_precmd:1: no such file or directory: /home/andrew/.local/bin/mise                                                                                                          
~/projects/BetterDiscord on master *1 !1 ?1 ❯ elixir --version                                                                                                    took 3s at 18:40:53
{"init terminating in do_boot",{undef,[{elixir,start_cli,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{elixir,start_cli,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done
_mise_hook_precmd:1: no such file or directory: /home/andrew/.local/bin/mise                                                                                                          
~/projects/BetterDiscord on master *1 !1 ?1 ❯    

I can give more details, well the final detail I suppose is that in my backend folder the .elixir_ls folder is not being made there anymore, maybe I deleted it one too many times? I can give more details, but I tried searching up and this really is bugging me! That’s all, any help would be really really appreciated

edit: I even tried with ADSF But I still get the errors! This is so confusing

edit 2: I uninstalled elixir from all my paths and everything on windows that I could, I also within file explorer deleted the extension in the vscode folder and reinstalled it but still Nothing!
edit 3:

one more thing, maybe it’s a vscode issue in general not being able to find stuff because now in Lexical I get things like this, maybe vscode can’t access my path or version managers or anything else? I really don’t know :confused: I’m using WSL Ubuntu on win11

2026-01-01 20:24:57.035 [info] Starting Lexical in directory /home/andrew/projects/BetterDiscord/backend
2026-01-01 20:24:57.035 [info] Starting lexical at "/home/andrew/.vscode-server/data/User/globalStorage/lexical-lsp.lexical/lexical_install/lexical/bin/start_lexical.sh"
2026-01-01 20:24:57.877 [info] No activated version manager detected. Searching for version manager...

2026-01-01 20:24:58.286 [info] Could not activate a version manager. Trying system installation.

2026-01-01 20:24:58.765 [info] /home/andrew/.vscode-server/data/User/globalStorage/lexical-lsp.lexical/lexical_install/lexical/bin/start_lexical.sh: line 21: elixir: command not found

2026-01-01 20:24:58.767 [info] [Error - 8:24:58 PM] Server initialization failed.
2026-01-01 20:24:58.767 [info]   Message: Pending response rejected since connection got disposed
  Code: -32097 
2026-01-01 20:24:58.767 [info] [Info  - 8:24:58 PM] Connection to server got closed. Server will restart.
2026-01-01 20:24:58.767 [info] true
2026-01-01 20:24:58.767 [info] [Error - 8:24:58 PM] Lexical client: couldn't create connection to server.
2026-01-01 20:24:58.767 [info]   Message: Pending response rejected since connection got disposed
  Code: -32097 
2026-01-01 20:24:58.776 [info] [Error - 8:24:58 PM] Server process exited with code 127.

Showing Posts 1 to 1

Trolleger

Trolleger OP

Nevermind, the shell values were not loaded (or whatever) I just had to open vscode from the ubuntu shell!

— 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
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
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
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
ryanwinchester
apply_graft/2 doesn’t rewrite an add_many sub-workflow’s deps on an add step. Grafted jobs cancel with “upstream job was deleted” Version...
New

Other Trending Topics Top

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
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
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews