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

Failed resolving Node.js Runtime #113

Closed
gemisigo opened this issue Jun 20, 2023 · 3 comments
Closed

Failed resolving Node.js Runtime #113

gemisigo opened this issue Jun 20, 2023 · 3 comments
Labels
upstream Upstream issue

Comments

@gemisigo
Copy link

I've tried to follow the simple installation guide and the problems started at step one. Installing LSP was done successfully, but after installing LSP-copilot I faced a warning stating that:

Could not start LSP-copilot due to not being able to resolve suitable Node.js runtime on the PATH. Press the "Download Nodejs" button to get required Node.js version (note that it Will be used only by LSP and Will not affect your system otherwise).

Obviously, I chose "Download Node.js" which downloaded something and put it into "C:\Users\this_is_me\AppData\Local\Sublime Text\Package Storage\lsp_utils". Before I could restart Sublime Text, it popped an error dialog with this:

Failed to start LSP-copilot - disabling for this window for the duration of the current session.
Re-enable by running "LSP: Enable Language Server In Project" from the Command Palette.

--- Error: ---
Failed resolving Node.js Runtime. Please check in the console for more details.

Trying the suggested "LSP: Enable Language Server In Project" will only resurrect the error dialog. I guess something with path is not set properly but I have no idea what. Any hints?

@jfcherng
Copy link
Collaborator

jfcherng commented Jun 20, 2023

Did you restart ST? What's your OS? This is irrelevant to LSP-copilot though. Should be filed on https://github.com/sublimelsp/lsp_utils.

@jfcherng jfcherng added the upstream Upstream issue label Jun 20, 2023
@gemisigo
Copy link
Author

gemisigo commented Jun 20, 2023

Thanks for the quick reply. The OS is Win 11 Pro. And yes, I restarted ST. I filed it here because it manifested after installing LSP-copilot (and it installing that lsp_util thing) and I guessed it failed to install it properly. But if you think I can post it there too.

@jfcherng
Copy link
Collaborator

Moved to sublimelsp/lsp_utils#100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Upstream issue
Projects
None yet
Development

No branches or pull requests

2 participants