rlipscombe
VS Code extension keeps trying to build Dialyzer PLT
The VS Code Elixir extension keeps reporting “Building core Dialyzer Elixir PLT. This will take a few minutes…”, and it keeps restarting.
If I look in the “Problems” tab in VS Code, it says “could not make directory (with -p) “/.mix”: permission denied.”
Why is it attempting to write to /? How can I fix it?
It also occasionally asks about installing rebar3, which is already installed. I’m assuming it’s failing for the same reason.
Marked As Solved
rlipscombe
Fixed it. ElixirLS recently started honouring asdf configuration. A while back I switched from asdf to direnv and my asdf configuration was apparently broken, resulting in MIX_HOME=/.
I nuked ~/.asdf and it all seems OK now.
Also Liked
rlipscombe
As far as I understand it, the new fork uses the same extension ID, as of quite recently.
It doesn’t. I tried a git clone of that extension directly, and filed Repeatedly fails to build core Dialyzer Elixir PLT · Issue #85 · elixir-lsp/vscode-elixir-ls · GitHub
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
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









