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
The "languageserver.bash" server crashed 4 times in the last 3 minutes. The server will not be restarted #353
Comments
I have the same problem. A temporary solution for me is to downgrade nodejs from 18.1.0 to 17.9.0 on Arch Linux... |
This worked for me too. Probably a bug in nodejs 18.1 then |
I have the same problem when i upgraded nodejs-18.1.0. |
Same here. Downgraded to 17.9.0 for now. |
- Pin older Node.js due to bash-lsp/bash-language-server#353 - Built with nodejs-lts-gallium git-svn-id: file:///srv/repos/svn-community/svn@1196316 9fca08f4-af9d-4005-b8df-a31f2cc04f65
- Pin older Node.js due to bash-lsp/bash-language-server#353 - Built with nodejs-lts-gallium git-svn-id: file:///srv/repos/svn-community/svn@1196316 9fca08f4-af9d-4005-b8df-a31f2cc04f65
@mrdotx @realSaltyFish @xiaobaiseven Have you found any solutions? Node has gotten a new version, 18.2.0, and it still doesn't work |
Confirm. Works with 18.0.0. |
On May 18, 2022 1:37:18 PM EDT, isak102 ***@***.***> wrote:
@mrdotx @realSaltyFish @xiaobaiseven Have you found any solutions? Node has gotten a new version, 18.2.0, and it still doesn't work
What version of bash-ls are you on? <strike>This should already be fixed in 3.0.1.</strike>
…--
Best,
Daniel <https://danielcapella.com>
|
I'm on 3.0.2. |
I am on 3.0.2 and it doesn't work |
With |
I'm also on 3.0.2 and it still doesn't work with 18.2.0 |
I cannot reproduce this locally, so I would love you to paste the output from running:
|
I also have this issue. I have the same error as reported in the first comment.
This is with Neovim 0.7.0 and the latest |
Thanks! I've reproduced the issue locally now by running the automated tests ( @maxbrunsfeld do you know of any issues using |
That's what nvim gives in logs, hope it helps (
|
A temporary workaround is to start the language server using the node --no-experimental-fetch $(which bash-language-server) --start @gegoune @WhoIsSethDaniel Can you verify if that works for you? Additional contextI've looked into this and the node.js support for I've validated this by disabling fetch using node --no-experimental-fetch node_modules/.bin/jest server/src/__tests__/server.test.ts |
Version 3.0.3 has just been released with a workaround. Let me know if it works. :) |
Version 3.0.3 works for me with node 18.2.0 |
Yes, 3.0.3 works, thank you for fixing it! |
3.0.3 wfm as well. Thank you. |
Thank you! |
Opening a .sh file in neovim and waiting around 4 seconds leads to this issue. The language server crashes and doesn't work whatsoever. I have tried reinstalling node, bash-language-server and coc multiple times with no success.
This started happening a few days ago, don't think I have changed anything. This is the output of
:CocCommand workspace.showOuptut
:The text was updated successfully, but these errors were encountered: