-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
astro-language-server LSP Inactive #4508
Comments
The bug on VSCodium is solve by this patch (I believe) The bug is resembling to mine. I think is not a bug on astro-language-server but something on lvim/Mason installation/setup. I do not know where post this issue: here or somewhere else. best regards, |
The problem seems to be that the One way you might try to fix this is to do a global install of Regardless, seems like mason isn't doing something right here. |
thank you @chase .
I I can see that typescript was jast installed.
I try again lvim on my project but the error still present! I think that something try to find typescript on wrong local path best regards, |
Just in case try with |
Thank you @olrtg I have try but same error message:
best regards |
Just curious. On which version of node are you? |
I have:
|
Can you try installing typescript globally and making sure that |
I have installed local and global:
best regards, P.S.: astro-language-server on VSCodium works |
Ah, Try adding the PATH to + export PATH=/home/leonardo/.local/share/pnpm:$PATH
export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-"/home/leonardo/.local/share/lunarvim"}" |
thank you @chase . I try but it not work: #!/bin/bash
export PATH=/home/leonardo/.local/share/pnpm:$PATH
export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-'/home/leonardo/.local/share/lunarvim'}"
/home/leonardo/.local/bin/lvim
exit 0 |
This issue is stale because it has been open for 50 days with no activity. |
@lesar maybe try installing |
Problem description
astro-language-server is installed by Mason
if I open index.astro on working project I get an error see screen shot
I'm new on lunarvim and do not know what to do so I try this:
npm install -g @astrojs/language-server
this not help
and
:LspInstall astro
this not help
I have search on other Issue but have not understand how to solve.
is a bug or my mistake?
best regards,
Leonardo
LunarVim version
release-1.3/neovim-0.9-d1c1bace
Neovim version (>= 0.9.1)
NVIM v0.9.5
Operating system/version
Fedora 39
Affected language servers
astro
Steps to reproduce
Open an *.astro file.
Actual behavior
the first time get the error, then LSP Inactive
Expected behavior
LSP active
support info
logs
Screenshots
The text was updated successfully, but these errors were encountered: