D
Deno

help

Deno bundle duplicating variables

SSorikairo10/23/2022
Using Deno 1.26.2 I am trying to bundle https://github.com/Savory/Danet-Starter using deno bundle run.ts standalone-starter.js However, the generated standalone-starter.js contains duplicated variable declaration, resulting in error: Uncaught SyntaxError: Identifier 'mod' has already been declared while trying to use deno run standalone-starter.js. Did I do something wrong or is it a bug ?
UUUnknown User10/23/2022
2 Messages Not Public
Sign In & Join Server To View
SSorikairo10/23/2022
It does. Rendez-vous on Github 👀
UUUnknown User10/23/2022
Message Not Public
Sign In & Join Server To View
SSorikairo10/23/2022
Omw (this is why I said RDV on Github, I'm creating an issue 😄 ) https://github.com/denoland/deno/issues/16390

Looking for more? Join the community!

Recommended Posts
Simple test, lots of type errorsHi! I made a library for Deno (https://github.com/Industrial/fresh-emotion) and am now trying to adAm I closing this server wrongly? The port is not free for a new listener! (`AddrInUse`)```ts const server = Deno.listen({ port: 80 }); (async function(){ for await(const conn of serSync uuid from stringHow can I generate a UUID from a string synchronously? In the standard library I only found this asVS Code, Hello World -- F5 shows nothing in console?I have a simple hello world program: ```ts let message: string = 'Hello World'; console.log(messageHow to transform a Readable Stream to a file.I have a ReadableStream from a post request and i cant find a way to transform the body(ReadableStreSilence error logs on Oak serverI'm trying to silence specific errors on an Oak server on Deploy. A Github issue said to add an 'errAre pointers supported in Fast API return types?If no, how do I return pointers?Reddit fetch Vs. My noob brain part. IHello! So I want to fetch Reddit posts. I use this library. I have a few questions. https://github.cHow do I detect mouse clicks and key presses with Deno.stdin?I don't even really have any base code, so I was just wondering as to how do I do the problem specifML with FFISuppose you wish to do some machine learning stuff with Deno, would it be optimal to use FFI with C Is there a way to determine what modules have been dynamically imported at runtime?The builtin tools to compile/bundle/vendor don't account for dynamic imports (understandably), but iweird interfacehow can a class implement this interface ```ts interface I { (): void type: string }``` or a `cnpm specifier import typesso when I do something like ```ts import * as rx from 'npm:rxjs' console.log(rx) ``` I do have the error Unsupported scheme node for module `nodemodule`. Supported schemesI'm trying to import a module using: ```js import { example } from "npm:example"; ``` Inside `exampl