-
Notifications
You must be signed in to change notification settings - Fork 146
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 to Detect Deno #19
Comments
I will rewrite the deno executable finder |
@justjavac 老兄,windows也提示在$PATH找不到deno,你代码写的在ProgramFiles里面找,windows默认安装路径是%userprofile%\.deno\ |
💡 please use English, or Google Translate Windows also prompts that deno cannot be found in |
maybe which is a good choice |
If I get some time today, I'll try and get the extension running locally and test out |
I was able to fix this without changing the extension by fully restarting VS Code. I think what happened was I had an instance of VS Code open before I installed Deno and set up the PATH to include it. When I opened a new VS Code instance and installed this extension, the new instance didn't rerun my After fully quitting VS Code and opening it back up, the extension was able to find Deno in the path. Getting tl;dr: Make sure deno is on your path and fully quit VS Code, then open it back up and see if it works. |
Other people have encountered the same problem, so I should fix this problem |
I had the same problem while using the remote-ssh plugin to work on a remote server. In my case, I had connected to the remote before installing deno, so I had to restart the VS Code agent on the remote before the plugin could find it. Restarting my local VS Code had no effect because the remote agent stays running. It should have been obvious, but I didn't think of it until I had a good sleep. |
same problem encountered here too. In case anyone lands here from google, a workaround is adding this to the end of [ ! -f "/usr/local/bin/deno" ] && ln -s "$DENO_INSTALL/bin/deno" "/usr/local/bin/deno" … at least until the extension is fixed, to detect the executable from |
I'm experiencing the same issue as https://github.com/justjavac/vscode-deno/issues/78; starting a new issue here since this seems to be the location of new development.
Mac Mojave 10.14.6
VS Code 1.45.0
VS Code Deno Extension version 1.27.0
Deno 1.0.0
Environment
I use zsh as my main shell environment.
I tracked the error down to
vscode_deno/client/src/utils.ts
Line 64 in 9a684b5
execa
. From the execa README.I export
DENO_INSTALL
andDENO_DIR
in my .zshrc file and add it to the path. Perhapsexeca
isn't finding Deno because it's not in the standard PATH locations?The text was updated successfully, but these errors were encountered: