After I finish typing a new import, like import {$} from npm:zx, and I issue a cache update request, the npm package "zx" is not installed or doesn't exist error still persists until the file is modified (inserting or removing a character)
The problem is the same for these ways of triggering a cache update:
- Quick fix: Install
npm:zx and its dependencies.
- Setting: Cache on save.
- CLI:
deno cache
I used a clean, portable vscode instance with only the Deno extension
Versions
code -v
1.108.1
585eba7c0c34fd6b30faac7c62a42050bfbc0086
x64
code --list-extensions --show-versions
denoland.vscode-deno@3.48.0
deno -v
deno 2.6.5