vscode run Deno: Initialize Workspace & Deno: Enable still no joy
I have installed deno and it works on my macos terminal. I exported it to my $PATH. I have selected my workspace and ran Deno: Initialize Workspace Configuration and also Deno: Enable
If I also run Deno: Info in the command pallete it pops up the deno version
However, I cannot get the hello world to run in the vscode terminal
4 Replies
What does the terminal output look like? Are you getting an error there?
myname@MacBook-Pro-2 Experimentation % deno --help
zsh: command not found: deno
The command works on the mac terminal .
That means the deno command is not in your path (in the VSC terminal). I've had issues with vscode not picking up my paths for somethings (like node installed via nvm), but I'm not sure why...
I don't use zsh, so I don't have a specific tip for you, but in your case, I'd guess the terminal launched by vscode isn't reading whatever dotfile your path export is in.
Thank you! That was the clue I needed. I had to include the export DENO_INSTALL & export PATH= commands in my .zshrc file