Skip to content

Cannot compile Typescript example with Deno v2.0.3 #194

@Dmitri-Sintsov

Description

@Dmitri-Sintsov

When trying to run the example from docs:

import { bundle } from "jsr:@deno/emit";
const result = await bundle(
  new URL("https://deno.land/std@0.140.0/examples/chat/server.ts"),
);

const { code } = result;
console.log(code);

I get the following error:

Uncaught TypeError TypeError: WebAssembly.compile(): Argument 0 must be a buffer source
    at eventLoopTick (core/01_core.js:175:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions