Skip to content
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

Can't import from https://deno.land/x/jsdocserver #2

Open
doga opened this issue May 17, 2024 · 0 comments
Open

Can't import from https://deno.land/x/jsdocserver #2

doga opened this issue May 17, 2024 · 0 comments

Comments

@doga
Copy link
Owner

doga commented May 17, 2024

This library is published on deno.land/x, but importing it from that URL throws an error:

Here is a Deno REPL session:

> import { Server } from 'https://deno.land/x/[email protected]/mod.mts';
Uncaught TypeError: The module's source code could not be parsed: Expected ',', got '{' at https://deno.land/x/[email protected]/mod.mts:1:13

  import type {ServerConfig} from './lib/server.mts';
              ~
    at async <anonymous>:1:41
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant