-
Notifications
You must be signed in to change notification settings - Fork 145
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
could not find deno in path, please install deno #234
Comments
you have to connect vscode after updating the .bashrc |
tnx for your help. Maybe i do misunderstand you but I allready reconnected many times again.
|
If you open a terminal through VS Code in the container, is |
yes... step 7. from my steps to reproduce |
@JSchermers |
Hello and thx for your help. When i echo $PATH, this is the result. Deno is in my bash.rc for root export DENO_INSTALL="/root/.deno" root@371b4a54741e:/# echo $PATH Everytime i reload the window VSCODE keeps telling deno is not in the PATH |
And |
root@371b4a54741e:/# which deno |
I would like to add that this is not isolated to a single user. I am on Pop!_OS 20.04 which is based off the same Ubuntu version.
|
Could I request a interim fix being a option to override to a manually entered path to a Deno Executable? I would add that just in general as a backup as sometimes you may want to run a specific version of Deno as opposed to the global one and a workspace override would allow for that. |
I have the same issue! |
I had the same issue. I resolved it with:
|
Seeing as @losintikfos fix works. (But don't forget to change to your home directory!) I think this may be a issue in vscode-languageserver, possibly L422-L435 in If someone who knows how to debug VSCode extensions could verify the path being used that would help. It may be that the |
Same solution here! Thanks 👍 |
Note: for me, the workaround is not starting VS Code “normally” (ie. from the /Applications folder or the Launchpad). When I instead navigate to my project directory in the terminal and then start VS Code with |
Same problem, I use flatpak vscode. Tried install deno via script and pacman.
|
This has likely been resolved in the 3.x branch of the extension. |
It hasnt been resolved yet but the work around of using ln works |
I still have this issue, installed Deno via Homebrew but the extension can't seem to find the executable. I have to manually set
I am using The contents of my
|
In linux, I fix this issue by using this command sudo ln -s /home/desktop-name/.deno/bin/deno /usr/local/bin/deno |
@andreyddk did you find a solution for using deno inside a flatpak VS Code? |
Hi! Actually I dont remember exactly, but you can try install deno via script on official site in |
Thanks. That worked! Didn't need to give the flatpak access to that
directory since it already has host access.
…On Wed, 6 Mar 2024, 07:13 Andrey Dudnik, ***@***.***> wrote:
@andreyddk <https://github.com/andreyddk> did you find a solution for
using deno inside a flatpak VS Code?
Hi! Actually I dont remember exactly, but you cant try install deno via
script on official site in $HOME/.deno, next install the Flatseal and set
permissions for vscode to file system of $HOME/.deno
—
Reply to this email directly, view it on GitHub
<#234 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJB5FCOYUACYS6WVTCOQ5KDYW2QWXAVCNFSM4R2D66K2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJYGAYTAMJRGA2Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
we should solve this from root |
I hoped for intellisence on deno commands in .ts files and .js files when installing this extension.
I'm on Ubuntu , gnome
Steps to reproduce
7.reload vscode
deno
works in terminal10 added .vscode/settings.json to root of project
{
"deno.enable": true
}
**Allready tried **
tnx for any advice or help
The text was updated successfully, but these errors were encountered: