How to resolve this issue: "Cannot find name 'Deno'.ts(2304)"?
Hello! I'm new to using Deno, currently on version 2.0.6.
I'm developing with VSCode and have installed the extension provided by Deno. I created a project using
But vscode keeps telling me that Deno cannot be found.
Introducing a
I've been searching online for a long time. On GitHub and Discord, a few people encountered the same problem, and they solved it by setting
Is there any way to solve this issue? Thanks a lot.
I'm developing with VSCode and have installed the extension provided by Deno. I created a project using
deno init deno_start. In VSCode, I ran Deno: Initialize Workspace Configuration and enabled Deno enable. Here is the content of settings.jsonBut vscode keeps telling me that Deno cannot be found.
Introducing a
/// <reference types="deno.ns" /> at the top of the file does not help. However, with cmd + click, I can always jump to Deno's type definition files.I've been searching online for a long time. On GitHub and Discord, a few people encountered the same problem, and they solved it by setting
"typescript.tsserver.experimental.enableProjectDiagnostics" to false. However, this didn't work for me. I've already added this setting in settings.json.Is there any way to solve this issue? Thanks a lot.



