vscode_deno
vscode_deno copied to clipboard
Deno Language Server client: couldn't create connection to server.
Describe the bug
VSCode Output of
Deno Language Server
Launching server using command /${userHome}/.deno/bin/deno failed. Error: spawn /${userHome}/.deno/bin/deno ENOENT
Versions
vscode: 1.85.0
deno: 1.38.5
extension: v3.29.0
If you do which deno
what output do you get?
It is in "$HOME/.deno/bin/deno" and I configured this path to ".vscode/settings.json".
Is there a way to use Deno without config the 'deno.path' property inside '.vscode/settings.json'?
It should already work this way - are you sure the VSCode is resolving ${userHome}
to the right directory?
It should already work this way
Yes should Work but not!
are you sure the VSCode is resolving
${userHome}
to the right directory?
How can i testing this?
I had deno installed via homebrew and was getting this error.
Got so frustrated trying to fix it that I uninstalled the brew instance, installed it via curl -fsSL https://deno.land/x/install/install.sh | sh
, restarted VSCode and now it works ¯_(ツ)_/¯
Maybe it will help someone Googling this error.
I had deno installed via homebrew and was getting this error. Got so frustrated trying to fix it that I uninstalled the brew instance, installed it via
curl -fsSL https://deno.land/x/install/install.sh | sh
, restarted VSCode and now it works ¯_(ツ)_/¯Maybe it will help someone Googling this error.
Helped me! If it's not an easy fix might be worth sticking a note in the extension description that it doesn't work with homebrew installs.
I had deno installed via homebrew and was getting this error. Got so frustrated trying to fix it that I uninstalled the brew instance, installed it via
curl -fsSL https://deno.land/x/install/install.sh | sh
, restarted VSCode and now it works ¯_(ツ)_/¯Maybe it will help someone Googling this error.
Perfect !!!! Thanks
brew uninstall deno
curl -fsSL https://deno.land/x/install/install.sh | sh
Re-installing deno on ubuntu using similar instructions as mentioned already also solved this for me.
Can we just get the extension accept brew install that doesn't make sense
In my case, I hadn't installed deno with homebrew, but running curl -fsSL https://deno.land/x/install/install.sh | sh
resolved the issue anyway.