Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies cannot be found until installed with served/installDependency #385

Open
dk949 opened this issue Jan 13, 2025 · 0 comments
Open

Comments

@dk949
Copy link

dk949 commented Jan 13, 2025

Versions:
Arch Linux, kernel 6.12.9.arch1-1
NVIM v0.10.3
serve-d v0.7.6 with workspace-d v3.7.0
DUB version 1.38.1, built on Jul 7 2024
LDC 1.40.0

If a dependency is added with dub add, the LSP shows the unable to read module `MODULE_NAME`.

If it is added with the served/installDependency notification, everything works, however:

  1. This method ignores the $DUB_HOME variable, instead creating a $HOME/.dub directory
  2. The directory naming scheme is different to the one used by dub. E.g.:
    dub installs toml into ~/.dub/packages/toml/2.0.1/toml, serve-d installs it into ~/.dub/packages/toml-2.0.1/toml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant