-
Notifications
You must be signed in to change notification settings - Fork 184
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
Unable to debug LSP start failure #2553
Comments
My workaround is to let Sublime LSP install Node. I don't like this approach since then I have different versions of node than what my CLI tools on this machine will use (For example when running biome during git checkin) |
https://lsp.sublimetext.io/troubleshooting/#updating-the-path-used-by-lsp-servers explains how to deal with this issue. The |
The linked doc shows that adding If that is not supported, then the plugin fails to account for a common use-case: I cannot modify the global path. In order to use LSP then I'd have to write a wrapper launcher that sets a path and then launches sublime. That doesn't seem like that would be intended. |
The documentation is not very precise or possibly even wrong. The Since you are using NVM, you can just ensure that the NVM initialization script is evaluated in context of ST. I don't see why would that not be fine since you are doing the same in your terminal. |
How do I configure how Sublime/LSP initializes/configs NVM? |
It's mentioned in the link I've posted. |
Describe the bug
LSP-biome is unable to find Node and there doesn't appear to be any way to debug this.
This used to work on my machine and I have no idea what changed (I recently got a new Sublime license and upgraded, so maybe there are new versions involved).
My biggest problem is that I have no idea how to proceed further with debugging. There's no output other than this modal, which isn't reporting the correct information. As you can see below I have my path setup (as documented) and node is available there.
Screenshots
Logs
The LSP-Log Panel output does not contain any message about biome.
Environment (please complete the following information):
Additional context
I'm launching Sublime from the launcher. Node is installed on the specific project and cannot be referenced globally (that is, I can't update my global path).
The text was updated successfully, but these errors were encountered: