-
-
Notifications
You must be signed in to change notification settings - Fork 286
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
nimlsp
failed to install
#787
Comments
This is likely happening because Nim was installed via a package manager which does not include the Nim source code. The source is required for NimLSP to build. Solution (for me) was to install Nim using choosenim, which will keep the sources on-disk for NimLSP to find. See also: |
Thanks @jvinet! I personally don't do Nim development so I'm afraid I'm a bit lost. I can install |
This fixes the problem! I originally installed I think this should be documented somewhere - that |
I faced the same problem. Because I was installed nim by pacman on Archlinux, Like |
I've searched open issues for similar requests
Yes
I've recently downloaded the latest plugin version of mason.nvim
Problem description
Trying to install
nimlsp
fails.The error message is a bit cryptic and its hard to debug off of the error message.
Expected behavior
nimlsp
should install successfully, as I have all the tools required to compile nim code installed.Affected packages
nimlsp
Mason output
Installation log
Neovim version (>= 0.7)
NVIM v0.8.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by [email protected]
Operating system/version
Darwin Silvie-2.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:29 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T8101 arm64
Healthcheck
Screenshots
No response
The text was updated successfully, but these errors were encountered: