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
error: Uncaught SyntaxError: The requested module 'https://esm.sh/v111/[email protected]' does not provide an export named 'Asciidoctor'
import {Asciidoctor} from 'https://esm.sh/v111/[email protected]'
^
at <anonymous> (file:///home/taind/code/personal/blogs/src/test.ts:1:9)
Thank you for your hard work, the above example work now 🥇
I'm now able to use the Asciidoctor package, but some bugs are still annoying me:
import { Asciidoctor } from "https://esm.sh/v113/[email protected]";
const asciidoctor = new Asciidoctor();
console.log(asciidoctor);
After running deno run I got this:
❯ deno run -A src/main.ts
error: Uncaught SyntaxError: The requested module 'https://esm.sh/v113/[email protected]' does not provide an export named 'Asciidoctor'
import { Asciidoctor } from "https://esm.sh/v113/[email protected]";
^
at <anonymous> (file:///.../src/main.ts:1:10)
but actually, it did provide an export class name Asciidoctor:
Failing module [email protected]
Error message
After running
deno run
I got this:Additional info
Something like
worked:
, but Deno lsp wasn't happy with it:
The text was updated successfully, but these errors were encountered: