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.

The remote module has not been cached locally

See original GitHub issue

Hello, I have been trying out Deno a bit, but I always have this same error in my .ts file. The remote module "https://deno.land/std/async/delay.ts" has not been cached locally ts(10002)

But the file IS cached locally, it doesn’t get downloaded again when I start the file, but it still always shows me this error. This is really annoying, and I can’t seem to find a way to fix it.

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
cawoodmcommented, Oct 9, 2021

What is Deno trying to tell us here? That it has not downloaded a dependency? Well download it or be quiet… It’s no a code/syntax error.

image

4reactions
futurechallengercommented, May 27, 2021

Here’s how I solved this problem:

  1. cache the file by executing command deno info your_url.ts
  2. cmd+shift+p, reload window
Read more comments on GitHub >

github_iconTop Results From Across the Web

The remote module has not been cached locally
When I import a package in my deno application I get this error: The remote module "https://deno.land/std@0.85.0/http/server.ts" has not ...
Read more >
typescript - The remote module has not been cached locally - OGeek ...
When I import a package in my deno application I get this error: The remote module "https ... /66061928/the-remote-module-has-not-been-cached-locally.
Read more >
Using Visual Studio Code | Manual - Deno
Deno supports remote modules and will fetch remote modules and store them locally in a cache. When you do something like deno run...
Read more >
DENO_DIR, Code Fetch and Cache - A Guide to Deno Core
We try fetch local. Two cases: // 1. This is a remote module, but no reload provided. // 2. This is a local...
Read more >
Command go - The Go Programming Language - Google
Verify checks that the dependencies of the current module, which are stored in a local downloaded source cache, have not been modified since...
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