leaf icon indicating copy to clipboard operation
leaf copied to clipboard

`Deno.emit` is not a function

Open redxtech opened this issue 3 years ago • 0 comments

I'm using leaf with the current latest version of Deno (1.30.3) and when I run my compiled binary that uses leaf, I get this error:

error: Uncaught (in promise) TypeError: Deno.emit is not a function
        const bundleCode = (await Deno.emit(moduleToUse, {
                                       ^
    at Function.compile (https://deno.land/x/[email protected]/leafCompiler.ts:102:40)
    at file:///home/gabe/Code/hudstart/server/bundle.ts:2:6

redxtech avatar Feb 18 '23 11:02 redxtech