Sam
Sam10mo ago

Cant find name 'Deno'

I want to use Deno in my type script program but when I try to use Deno it says "Cant find name 'Deno' I just installed it then restarted my PC and added the Deno extention to my VS Code can any one help me
No description
8 Replies
NeTT
NeTT10mo ago
run the Deno: Initialize command in vscode I think that's what it's called forgor
Sam
SamOP10mo ago
I will try it thanks I tried it this what I got
error: unrecognized subcommand 'Initialize'

Usage: deno [OPTIONS] [COMMAND]

For more information, try '--help'.
error: unrecognized subcommand 'Initialize'

Usage: deno [OPTIONS] [COMMAND]

For more information, try '--help'.
marvinh.
marvinh.10mo ago
no in vscode, not in the terminal. The command in vscode was recently renamed from Deno: Initialize to Deno: Enable.
Sam
SamOP10mo ago
I am not used to VS Code how do I open up that type bar at the top?
marvinh.
marvinh.10mo ago
which editor are you using?
Sam
SamOP10mo ago
I am using VS Code But I dont use it often
marvinh.
marvinh.10mo ago
oh apologies, I misread your previous message. You can get the command bar to show up by pressing Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS. The prerequesite is that you have the Deno extension already installed. It's the thing that provides the command. If you haven't installed it, you can install it from the official vscode extension store https://marketplace.visualstudio.com/items?itemName=denoland.vscode-deno
Sam
SamOP10mo ago
Thanks that worked your a life saver

Did you find this page helpful?