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.

Command 'Deno: Reload Import Registries Cache' resulted in an error

See original GitHub issue

test

Describe the bug The command palette entry does not seem to work. It only results in the error described below. I’m exploring this feature for the first time.

To Reproduce

  1. Command palette > activate the command named Deno: Reload Import Registries Cache

  2. A notification appears:

Command ‘Deno: Reload Import Registries Cache’ resulted in an error (Running the contributed command: ‘deno.reloadImportRegistries’ failed.)

Expected behavior

Not sure. It’s never succeeded.

Screenshots

Screen Shot 2021-04-16 at 00 42 16

Versions

vscode: code --version

1.55.2
3c4e3df9e89829dce27b7b5c24508306b151f30d
x64

deno: deno --version

deno 1.9.0 (release, x86_64-apple-darwin)
v8 9.1.269.5
typescript 4.2.2

extension: code --list-extensions --show-versions | grep deno

denoland.vscode-deno@3.3.0

notes

My .vscode/settings.json looks like this:

{
  "deno.enable": true,
  "deno.lint": true,
  "deno.unstable": false,
  "deno.suggest.imports.hosts": {
    "https://deno.land/": true
  }
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
danopiacommented, Apr 27, 2021

I’m seeing the same behavior on the same extension version, 3.3.0. I also can’t find any output from the action attempt.

0reactions
jsejcksncommented, Jul 5, 2021

Just tested in release v3.7.0: There is no UI feedback when running the command, and deno.land import URLs seem to autocomplete as expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reloading Modules | Manual - Deno
Reloading Modules. By default, a module in the cache will be reused without fetching or re-compiling it. Sometimes this is not desirable and...
Read more >
Reload Deno cache after upgrading - SecondState.io
The solution is actually quite simple. Just force Deno to reload the cached files for your application. $ deno cache --reload my_app.ts. And...
Read more >
Language Server Extension Guide - Visual Studio Code
Learn how to create Language Servers to provide rich language features in Visual Studio Code.
Read more >
API - esbuild
To join a set of files together with esbuild, import them all into a single entry point file and bundle just that one...
Read more >
Deno 1.29: Custom npm registry support
Deno 1.29 ships with many npm compatibility improvements, ... deno run example.js error: Module evaluation is still pending but there are no ...
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