SacriGrapeS
Denoโ€ข16mo agoโ€ข
1 reply
SacriGrape

Can't get Deno to support loading a .ts module

I'm attempting to setup deno_node in my project and while attempting to add deno_node and its dependencies, I get this error:
Failed to initialize a JsRuntime: Uncaught SyntaxError: Unexpected token '{'
    at ext:deno_node/_http_outgoing.ts:12:13


From the digging around I could do, its because I need to somehow transpile this code as Deno loads it with a ModuleLoader but I'm not sure how to do that. If there are any examples or guides for this that would be greatly appreciated
Was this page helpful?