Open pioz opened 4 hours ago
I believe this is a duplicate of https://github.com/TerminalFi/LSP-copilot/issues/133. Anyway, not really related to LSP-copilot.
It seems that you are not using NVM. But the key is always the same, make node
foundable via PATH
. See https://lsp.sublimetext.io/troubleshooting/#updating-the-path-used-by-lsp-servers
I've modify my LSP.sublime-settings
with this:
{
"clients": {
"copilot": {
"enabled": true,
"command": [
"/Users/pioz/.local/share/mise/installs/node/lts/bin/node",
"${server_path}",
"--stdio"
],
"env": {
"PATH": "/Users/pioz/.local/share/mise/installs/node/lts/bin:$PATH"
}
}
}
}
But I still have the same problem. Please help!
Ok, adding in lsp_utils.sublime-settings
, "nodejs_runtime": ["local"]
the Troubleshooting exit with code 0 🤟🏻
But now if I open the command palette and type "Copilot: Sign In" I do not see any available option.
I believe somewhere should emit an error, such as ST console. If not you should see "LSP-copilot" in the status bar. If not, you probably (but unlikely) not have a file opened.
I'm not able to run Copilot with my Sublime Text editor.
I've done this steps:
Install the package LSP from command palette (install package)
Install the package LSP-copilot from command palette (install package)
Just after the installation I see this popup error:
I've restart sublime
Just after restart I see this popup error:
I'm on mac os x 14.6.1 and Sublime Text 4180. My node is installed:
Now if I open the command palette and type "Copilot: Sign In" I do not see any available option:
My Troubleshooting: LSP-copilot output is:
Failed resolving Node.js Runtime. Please check in the console for more details.
source | text | embedding
source | text | embedding
Active view
Project / Workspace
LSP configuration
System PATH
My console output:
Can you help me to install Copilot on my Sublime Editor?