You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{doc}from"https://deno.land/x/[email protected]/mod.ts";import{pathToFileURL}from"node:url";// this line trigger the errorconsole.log(awaitdoc(import.meta.url));
error
error: Uncaught (in promise) Error: Failed resolving 'node:url' from 'file:///home/mrcool/dev/deno/lab/a.ts'.
const ret = new Error(getStringFromWasm0(arg0, arg1));
^
at __wbg_new_a64e3f2afc2cf2f8 (https://deno.land/x/[email protected]/deno_doc_wasm.generated.js:404:19)
at <anonymous> (file:///home/mrcool/.local/share/deno-wasmbuild/e7a23ed6bef70972bd288456786eaea32d8aa736d7ad6e9e71df1e02640116c1.wasm:1:89851)
at <anonymous> (file:///home/mrcool/.local/share/deno-wasmbuild/e7a23ed6bef70972bd288456786eaea32d8aa736d7ad6e9e71df1e02640116c1.wasm:1:2384079)
at <anonymous> (file:///home/mrcool/.local/share/deno-wasmbuild/e7a23ed6bef70972bd288456786eaea32d8aa736d7ad6e9e71df1e02640116c1.wasm:1:2826498)
at __wbg_adapter_48 (https://deno.land/x/[email protected]/deno_doc_wasm.generated.js:240:8)
at real (https://deno.land/x/[email protected]/deno_doc_wasm.generated.js:225:14)
at ext:core/01_core.js:303:9
at eventLoopTick (ext:core/01_core.js:169:7)
note that deno doc works correctly
Another note doc takes specifier argument as string but I think it should be URL since that's what it accepts at runtime
The text was updated successfully, but these errors were encountered:
error
note that deno doc works correctly
Another note
doc
takes specifier argument as string but I think it should be URL since that's what it accepts at runtimeThe text was updated successfully, but these errors were encountered: