Skip to content

"Module X is not loaded and cannot be found" errors displayed inline #533

@egeersoz

Description

@egeersoz

We have a lot of Module such-and-such is not loaded and cannot be found errors in the editor (Cursor, in my case) that marks lines with red squiggly underlines. They appear to be random and total luck of the draw.

Similarly, we get a lot of compiler warnings that are false negatives, resulting in yellow squiggly underlines. Sometimes they go away when we delete the .expert folder and sometimes they don't. The compiler doesn't give warnings when compiling the project in the terminal, so there's a discrepancy in how the LSP behaves.

Expert LSP version: 0.3.1
Platform: MacOS Tahoe 26.0

Editor:

Version: 2.5.26
VSCode Version: 1.105.1
Commit: 7d96c2a03bb088ad367615e9da1a3fe20fbbc6a0
Date: 2026-02-26T04:57:56.825Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.0.0

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