Skip to content

Project engine does not initialize when project Elixir version is newer than Expert build #340

@nicflower

Description

@nicflower

Environment

  • Editor: Neovim
  • Expert version: master (built from source)
  • Expert build Elixir: Elixir 1.16.3 (OTP 25)
  • Project Elixir (tested):
    • ❌ Elixir 1.18.4 + OTP 28 (fails)
    • ❌ Elixir 1.18.x + OTP 27 (fails)
    • ✅ Elixir 1.16.x + OTP 25 (works correctly)
  • elixir installation managed via asdf
  • OS: Linux

Description

project.log is never created when using Expert with newer Elixir versions (engine appears to start but no project logs), attempting to call an Lsp function causes this log message (from :LspLog):

[WARN][2026-01-27 09:24:22] /usr/local/share/nvim/runtime/lua/vim/lsp/log.lua:151	"Received request textDocument/hover before engine was initialized. Ignoring."

In the root of the project i correctly see an .expert folder containing the expert.log file, but all the other files are missing.

Attached you can find the expert.log file. Here I don't see particular errors besides these:

09:10:18.327 [error] ** (XPGenLSP.InvalidResponse) Invalid response for request shutdown.

Response: {:ok, nil}
Errors: "expected either null or a %XPGenLSP.ErrorResponse{}"

but digging around issues does not seem like a blocking error

expert.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions