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
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
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
D
Deno
Chat about Deno, a modern runtime for JavaScript and TypeScript.