-
-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Description
To reproduce
Either
- Open the repository in Github Codespaces
- Checkout and open the repository locally, then choose "reopen in container"
Problems
Elixir version mismatch
[{
"resource": "/workspace/mix.exs",
"owner": "_generated_diagnostic_collection_name_#3",
"severity": 8,
"message": "an exception was raised:\n ** (Mix.ElixirVersionError) You're trying to run :keila on Elixir v1.14.4 but it has declared in its mix.exs file it supports only Elixir ~> 1.15\n (mix 1.14.4) lib/mix/tasks/deps.loadpaths.ex:60: Mix.Tasks.Deps.Loadpaths.check_elixir_version/1\n (mix 1.14.4) lib/mix/tasks/deps.loadpaths.ex:39: Mix.Tasks.Deps.Loadpaths.run/1\n (mix 1.14.4) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4\n (mix 1.14.4) lib/mix/tasks/loadpaths.ex:41: Mix.Tasks.Loadpaths.run/1\n (mix 1.14.4) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4\n (mix 1.14.4) lib/mix/tasks/compile.ex:127: Mix.Tasks.Compile.run/1\n (mix 1.14.4) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4\n (language_server 0.26.2) lib/language_server/build.ex:441: ElixirLS.LanguageServer.Build.run_mix_compile/1\n (language_server 0.26.2) lib/language_server/build.ex:80: anonymous fn/3 in ElixirLS.LanguageServer.Build.build/3\n (stdlib 4.3.1) timer.erl:235: :timer.tc/1\n (language_server 0.26.2) lib/language_server/build.ex:20: anonymous fn/3 in ElixirLS.LanguageServer.Build.build/3\n (kernel 8.5.4) global.erl:477: :global.trans/4",
"source": "Elixir",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1
}]
The following seems to work (maybe some other does).
diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml
index 011c565..d4ed68d 100644
--- a/.devcontainer/docker-compose.yml
+++ b/.devcontainer/docker-compose.yml
@@ -7,7 +7,7 @@ services:
dockerfile: Dockerfile
args:
# Elixir Version: 1.9, 1.10, 1.10.4, ...
- VARIANT: "1.14.4"
+ VARIANT: "1.15.4"
# Phoenix Version: 1.4.17, 1.5.4, ...
PHOENIX_VERSION: "1.6.2"
# Node Version: 10, 11, ...
dprint
[ERROR] Problem launching dprint. /bin/sh: 1: dprint: not found
[ERROR] Error initializing dprint. Ensure it is globally installed on the path (see https://dprint.dev/install) or specify a "dprint.path" setting to the executable.
[INFO] Configuration file not found.
[INFO] Extension active!
Metadata
Metadata
Assignees
Labels
No labels