-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncached or missing npm package: "@types/node" when import mapping a node:
specifier
#805
Comments
Any updates? |
@shinebayar-g @Creative-Difficulty sorry for a slow response. Do you still experience these problems with Deno v1.35? We fixed two big pain points around npm and import maps in that release and I'm wondering if the issue still persists. |
Will test it out! |
@bartlomieju I think it still doesn't work |
@dsherret can you advise here? I thought this would work out-of-the box now. |
@reggi what happens why you cache it by using the quick fix or the |
@dsherret thanks a bunch! |
node:
specifier
Describe the bug
Below code works when I do
deno run example.ts
. However vscode extension is giving error if I usedeno.json
& import maps.To Reproduce
deno.json
example.ts
.Expected behavior
Import map works as expected.
However, when I do
import * as fs from 'node:fs';
it works.Screenshots
Versions
Deno extension: v3.17.0
VSCode: Version: 1.75.0 (Universal)
Commit: e2816fe719a4026ffa1ee0189dc89bdfdbafb164
Date: 2023-02-01T15:24:42.903Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Darwin arm64 22.3.0
Sandboxed: No
The text was updated successfully, but these errors were encountered: