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.

Cannot find name deno

See original GitHub issue

test

Describe the bug

I get a “Cannot find name deno”. Most of my types fallback to any, I cannot use the goto feature as well.

To Reproduce

I’ve attached a video showcasing my issue. Deno is enabled, I’ve disabled all but the deno extension.

I got the “Cannot find name Deno” error.

But when I downgrade the deno extension, and then reinstall the last version, I can see for a brief moment Deno being recognized as a namespace.

So the deno extension seems to work, but to be overriden by something else… I’m clueless about what since I’ve disabled every extension.

Expected behavior

I’d expect the deno namespace to be recognized, types to work, as well as the goto feature

Screenshots

Cannot find name deno.mp4.zip

Versions

vscode: 1.51.1 deno: 1.4.0 extension: 2.3.3

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ebebbingtoncommented, Feb 7, 2021

@mvolkmann @c-dinkel Can you restart your ide if you haven’t done so already?

0reactions
kitsonkcommented, Feb 19, 2021

Because of the substantial changes to v3 of this extension and Deno 1.7.5 I am closing this as stale. Please try again and report a new issue if there are problems.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cannot find name 'Deno' · Issue #66 · denoland/vscode_deno
imports seem to work correctly, deno seems to be running: I didn't change any settings. what am I missing?
Read more >
Cannot find name 'deno' on Deno plugin. : WEB-47670
Install the official Deno plugin. Start a new Project and enable Deno for this project. Make a code that uses the Deno namespace....
Read more >
Using Visual Studio Code | Manual - Deno
or Cannot find name 'Deno'. This is normally a situation where Deno is not enabled on a Deno project. If you look at...
Read more >
cannot find name with typescript and deno - Stack Overflow
I have the error : error: TS2304 [ERROR]: Cannot find name 'mapboxgl'. mapboxgl.accessToken ...
Read more >
Deno 1.27 - Hacker News
We bet big on deno with Windmill (OSS platform to turn scripts into ... However, it's still very new and missing a lot...
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