elixir-lsp / elixir-ls

A frontend-independent IDE "smartness" server for Elixir. Implements the "Language Server Protocol" standard and provides debugger support via the "Debug Adapter Protocol"
https://elixir-lsp.github.io/elixir-ls/
Apache License 2.0
1.47k stars 194 forks source link

Mix.install failed with ** (ArgumentError) unknown keys [:stop_started_applications] #1018

Closed 6aKa closed 11 months ago

6aKa commented 11 months ago
Running /Users/baka/.vscode/extensions/jakebecker.elixir-ls-0.17.5/elixir-ls-release/launch.sh
Preferred shell is zsh, relaunching
Looking for ASDF install
ASDF install found in /opt/local/share/asdf/asdf.sh, sourcing
Installing ElixirLS release v0.17.5
Running in /Users/baka/Projects/DEUSEX/briareos
Mix.install failed with ** (ArgumentError) unknown keys [:stop_started_applications] in [force: false, start_applications: false, stop_started_applications: false, consolidate_protocols: false], the allowed keys are: [:config, :config_path, :consolidate_protocols, :elixir, :force, :lockfile, :runtime_config, :start_applications, :system_env, :verbose]
    (elixir 1.16.0-rc.0) lib/keyword.ex:359: Keyword.validate!/2
    (mix 1.16.0-rc.0) lib/mix.ex:819: Mix.install/2
    /Users/baka/.vscode/extensions/jakebecker.elixir-ls-0.17.5/elixir-ls-release/installer.exs:526: ElixirLS.Installer.install/1
    /Users/baka/.vscode/extensions/jakebecker.elixir-ls-0.17.5/elixir-ls-release/installer.exs:543: ElixirLS.Installer.install_with_retry/0
    /Users/baka/.vscode/extensions/jakebecker.elixir-ls-0.17.5/elixir-ls-release/quiet_install.exs:14: (file)
    (elixir 1.16.0-rc.0) src/elixir_compiler.erl:67: :elixir_compiler.dispatch/4
    (elixir 1.16.0-rc.0) src/elixir_compiler.erl:52: :elixir_compiler.compile/3
    (elixir 1.16.0-rc.0) src/elixir_compiler.erl:39: :elixir_compiler.maybe_fast_compile/3
$ asdf list
elixir
 *1.16.0-rc.0-otp-26
erlang
 *26.1.2
lukaszsamson commented 11 months ago

Thanks for report but rc releases are not supported

moogle19 commented 11 months ago

@lukaszsamson Shouldn't ElixirLS.Installer use the custom ElixirLS.Mix (e.g. here)? That should fix the problem with the unknown key.

lukaszsamson commented 11 months ago

It should, I must have reverted that change