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
N
NeTT30d ago
run the Deno: Initialize command in vscode I think that's what it's called forgor
S
Sam30d 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'.
M
marvinh.30d ago
no in vscode, not in the terminal. The command in vscode was recently renamed from Deno: Initialize to Deno: Enable.
S
Sam30d ago
I am not used to VS Code how do I open up that type bar at the top?
M
marvinh.30d ago
which editor are you using?
S
Sam30d ago
I am using VS Code But I dont use it often
M
marvinh.30d 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
S
Sam30d ago
Thanks that worked your a life saver
More Posts
request bodyyo. how to read request body if it's node:http server? rq.body is undefined rq.read() returns null OpenTelemetry instrumentationDid anyone have some luck making OpenTelemetry instrumentation libraries work on Deno? I've seen sImport package from Azure DevOps repositoryHi ! 👋 I'm trying to import a private package from Azure DevOps Git repository. I can't make it wHelp with deploymentHow to use Tailwind css plugins in FRESH?is it possible to use tailwind css plugins in Fresh project? if it is, how?What am I missing when conditionally styling SVGsSo I have a SVG of an arrow that only has a stroke color. I want to change this stroke color based oError in npm package - how to squelch?I'm using an npm package that I think isn't being processed for Deno correctly. I get this error: `Is there a way to handle subpath imports within a library?I'm trying to convert a library package to work with deno. Internally, the package makes a bunch ofHow to connect to a MySQL 5.0.24?I was trying to use mysql@v2.12.1 to connect to a MySQL 5.0.24 Server but it is not compatible, is tTips for deploying Deno locally?Do we have a best practice for this? I want to deploy to my LAN only for a particular site. Maybe juHow to know when a Deno.Conn is closedA `Deno.Conn` is created either with `Deno.connectTls` or `Deno.connect`. How do we detect when the readFile path not foundI'm trying to use Deno.readFile but when is execute i get an error about wrong path. The files are Is there a way to read big files using something like .seek but with ending position as well?So, I'm doing a version of the billion line challenge in JS. I've already implemented a version withesbuild-deno-loader with npm private registryDid anyone used the esbuild-deno-loader with npm: specifier while using a private npm registry that how to load env variables from .env file in taskthe `source` shell command is not available. I tried ``` "tasks": { "my-task": "export .env &&Is there a way to specify a range and list from KV?```typescript const kv = await Deno.openKv(); kv.set(["parent", 1], "key1") kv.set(["parent", 2], "kPermissionDenied while using ioredis npm packageHello, I'm facing an issue with an npm library ioredis (https://github.com/redis/ioredis). For someIs there a way to obtain Deno.cron schedule info?Deploy lists the registered cron jobs with name, schedule, last run and next run. Is there a programVisual Studio Code Deno does not use node typesI'm trying to use the "esquery" node library with its types, but for any reason Deno ignores the typDrop permissionsI'd like to harden my deno app a bit, but specifying permissions manually gets repetitive. Is there