NDH
NDH
DDeno
Created by NDH on 4/10/2024 in #help
Deno Clean
@Deno AI Helper Does Deno add to, or modify the Windows Registry?
6 replies
DDeno
Created by NDH on 4/10/2024 in #help
Deno Clean
Thanks! How would I remove Deno.Kv files? What locations should I check?
6 replies
DDeno
Created by rzh9b on 1/16/2023 in #help
[react] document is not defined
Try adding the following to the top of that file:
/// <reference lib="dom" />
/// <reference lib="dom" />
This is how Fresh handles it, and how I write all client code in TS and then auto-esbuild it to a JS bundle.
18 replies
DDeno
Created by Evan on 3/20/2024 in #help
Tips for deploying Deno locally?
You may be interested in PUP. https://github.com/Hexagon/pup
5 replies
DDeno
Created by Pitanga on 3/17/2024 in #help
New fresh project comes out of the box with errors
Does that mean when using Tailwind you must AOT compile?
10 replies
DDeno
Created by Pitanga on 3/17/2024 in #help
New fresh project comes out of the box with errors
Wow, when did Fresh get a _nodemodules folder? And why?
10 replies
DDeno
Created by εvα on 3/12/2024 in #help
Error Installing Deno using PowerShell
I'd use : deno-x86_64-pc-windows-msvc.zip
9 replies
DDeno
Created by Shadow on 3/12/2024 in #help
Subprocess
@Deno AI Helper any help with this?
13 replies
DDeno
Created by Shadow on 3/12/2024 in #help
Subprocess
Also, you may want to try DAX -- written by a Deno core team member. https://github.com/dsherret/dax
13 replies
DDeno
Created by Shadow on 3/12/2024 in #help
Subprocess
Try asking the #Deno AI Helper
13 replies
DDeno
Created by Shadow on 3/12/2024 in #help
Subprocess
I was unable to spawn 'npm' Not sure why.
13 replies
DDeno
Created by Shadow on 3/12/2024 in #help
Subprocess
FYI many linux commands are just executables. In Windows, they are methods of the command processor.
13 replies
DDeno
Created by Shadow on 3/12/2024 in #help
Subprocess
For Windows. You need to execute. echo from a command processor -- "cmd"
const command = new Deno.Command("cmd", {
args: ["/c", "echo","hello world"],
stdin: "piped",
stdout: "piped"
}).spawn();

let result = await command.output();
const textDecoder = new TextDecoder();
console.log(textDecoder.decode(result.stdout));
const command = new Deno.Command("cmd", {
args: ["/c", "echo","hello world"],
stdin: "piped",
stdout: "piped"
}).spawn();

let result = await command.output();
const textDecoder = new TextDecoder();
console.log(textDecoder.decode(result.stdout));
13 replies
DDeno
Created by !Roricchi 2.0『藤田の妻』 on 3/9/2024 in #help
Make an image cropper that crops from data uri
6 replies
DDeno
Created by Sreejith Kalarikkal on 3/7/2024 in #help
To avoide tariling slash in URL on deno deploy
Been studying Solid and Astro. Can't wait to try an Astro project.
I'm making progress learning Node -- but still pretty green!
9 replies
DDeno
Created by lexand on 3/6/2024 in #help
Deno Oak : Can't connect to SSE with Deno Deploy
I'd love to help, but have no Oak experience. Someone will help.
6 replies
DDeno
Created by lexand on 3/6/2024 in #help
Deno Oak : Can't connect to SSE with Deno Deploy
I't may help to mention that this is an Oak server.
6 replies
DDeno
Created by SheldonFromBBT on 2/28/2024 in #help
The new and updated version for using socket.io handler with Deno.serve()
The order of args has changed:
// change this:
Deno.serve(customIOHandler, {port: 3000});
// to this
Deno.serve({port: 3000}, customIOHandler)
// change this:
Deno.serve(customIOHandler, {port: 3000});
// to this
Deno.serve({port: 3000}, customIOHandler)
The options now come first, then the callback function.
Also: The port and hostname options are optional. If not supplied, they default to 8080 and "localhost".
If these defaults are ok, then just use:
Deno.serve(customIOHandler);
Deno.serve(customIOHandler);
18 replies
DDeno
Created by CodeSnaporaz on 2/17/2024 in #help
TC39 stage 3 decorators not working anymore in Deno Deploy
72 replies
DDeno
Created by berkes on 2/21/2024 in #help
use-case: web component development in deno
I've updated the Hot readme to further explain Hot-config!
24 replies