** There is frequent crashes of elixir ls ,on vscode **
Due to which cant use the features provided by elixir ls.
The standard debugging measures taken are:
- enable ,disable , install , uninstall , elixir ls extension
- restart vs code
- delete .elixir_ls, _build
- mix deps.get , mix dep.compile. mix deps.clean,etc
an exception was raised:
** (UndefinedFunctionError) function Proxy.Mixfile.project/0 is undefined (module Proxy.Mixfile is not available)
Proxy.Mixfile.project()
(mix 1.14.1) lib/mix/project.ex:838: Mix.Project.get_project_config/1
(mix 1.14.1) lib/mix/project.ex:141: Mix.Project.push/3
(mix 1.14.1) lib/mix/project.ex:785: Mix.Project.load_project/2
(mix 1.14.1) lib/mix/project.ex:389: Mix.Project.in_project/4
(elixir 1.14.1) lib/file.ex:1607: File.cd!/2
(language_server 0.15.1) lib/language_server/build.ex:83: anonymous fn/3 in ElixirLS.LanguageServer.Build.reload_project/0
(stdlib 4.2) maps.erl:411: :maps.fold_1/3
an exception was raised:
** (UndefinedFunctionError) function Tzdata.Mixfile.project/0 is undefined (module Tzdata.Mixfile is not available)
Tzdata.Mixfile.project()
(mix 1.14.1) lib/mix/project.ex:838: Mix.Project.get_project_config/1
(mix 1.14.1) lib/mix/project.ex:141: Mix.Project.push/3
(mix 1.14.1) lib/mix/project.ex:785: Mix.Project.load_project/2
(mix 1.14.1) lib/mix/project.ex:389: Mix.Project.in_project/4
(elixir 1.14.1) lib/file.ex:1607: File.cd!/2
(language_server 0.15.1) lib/language_server/build.ex:83: anonymous fn/3 in ElixirLS.LanguageServer.Build.reload_project/0
(stdlib 4.2) maps.erl:411: :maps.fold_1/3ElixirLS
Kernel.defmodule(alias, do_block) view on hexdocs
Defines a module given by name with the given contents.
This macro defines a module with the given alias as its name and with the given contents. It returns a tuple with four elements:
:module
the module name
the binary contents of the module
the result of evaluating the contents block
** (UndefinedFunctionError) function OpentelemetryLoggerMetadata.MixProject.project/0 is undefined (module OpentelemetryLoggerMetadata.MixProject is not available)
OpentelemetryLoggerMetadata.MixProject.project()
(mix 1.14.3) lib/mix/project.ex:838: Mix.Project.get_project_config/1
(mix 1.14.3) lib/mix/project.ex:141: Mix.Project.push/3
(mix 1.14.3) lib/mix/project.ex:785: Mix.Project.load_project/2
(mix 1.14.3) lib/mix/project.ex:389: Mix.Project.in_project/4
(elixir 1.14.3) lib/file.ex:1607: File.cd!/2
(language_server 0.14.6) lib/language_server/build.ex:83: anonymous fn/3 in ElixirLS.LanguageServer.Build.reload_project/0
(stdlib 4.2) maps.erl:411: :maps.fold_1/3