question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

could not find deno in path, please install deno

See original GitHub issue

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

  1. i created a docker container
  2. started container
  3. connected vscode to docker container
  4. inside container switched user, added sudo rights
  5. installed deno with curl according the docs.
  6. updated .bashrc for new user with export path 7.reload vscode
  7. deno works in terminal
  8. installed deno vscode extension 10 added .vscode/settings.json to root of project { “deno.enable”: true }
  9. added .ts or .js file to project and tried deno. --> no intellisence, only “Could not find ‘deno in your $PATH’…” at bottom right of screen

**Allready tried **

  1. reinstalling extension
  2. reinstalling deno under root user
  3. changed settings.json to different locations

tnx for any advice or help

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:21 (5 by maintainers)

github_iconTop GitHub Comments

15reactions
losintikfoscommented, Dec 3, 2020

I had the same issue. I resolved it with:

  • sudo ln -s /home/losintikfos/.deno/bin/deno /usr/bin

  • Restart vscode.

2reactions
jcc10commented, Nov 14, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation | Manual - Deno
Installation. Deno works on macOS, Linux, and Windows. Deno is a single binary executable. It has no external dependencies. On macOS, both M1...
Read more >
Unable to install Deno in Ubuntu 18.04 - Stack Overflow
The executable is placed in $DENO_INSTALL/bin . In this case, you should get : Deno was installed successfully to /usr/local/bin/deno.
Read more >
Error Installing Deno on Windows 11 using PowerShell 7.2 ...
I've been playing around with Deno lately and wanted to get it installed on a new Windows 11 laptop I bought. To install...
Read more >
Render Deno support?
Update your Start Command to update the PATH with the Deno install: export PATH="$DENO_INSTALL/bin:$PATH" && your_start_command. Hope that helps.
Read more >
How to install deno in linux? - Rajdeep Singh
Delete deno configuration ... In the second step, You can delete the deno configuration in .bashrc file. Which is added automatically on the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found