marvinh.
marvinh.
DDeno
Created by Bastian on 5/4/2025 in #help
SQLite null prototype
Can you file an issue for that here https://github.com/denoland/deno/issues ?
5 replies
DDeno
Created by subbed on 5/25/2025 in #help
deno compile tree-shaking
No, afaik there is no tree-shaking. Only modules that are not reachable from the entry point are excluded
2 replies
DDeno
Created by Poncho on 5/16/2025 in #help
`<details>` element cannot have the basic "name" property?
FYI: We just published a new preact version which contains the fix
3 replies
DDeno
Created by Adam Scott on 5/23/2025 in #help
Is there a way to use `tsconfig.json` `compilerOptions.types`?
Not in tsconfig.json, but in deno.json under compilerOptions
2 replies
DDeno
Created by Pentos on 5/23/2025 in #help
How to deploy a staging (preview?) branch
No description
3 replies
DDeno
Created by kylec32 on 5/20/2025 in #help
Third-Party Library Uses `window` not `globalThis` Causing Issues.
you could try doing this before importing the third party library:
globalThis.window = globalThis
globalThis.window = globalThis
7 replies
DDeno
Created by nef on 5/8/2025 in #help
Possible to use CsvParseStream in Node.js
I'm afraid I can't help further. Sounds like Node's web stream types are pretty alpha
20 replies
DDeno
Created by nef on 5/8/2025 in #help
Possible to use CsvParseStream in Node.js
Looks like the types in Node are a bit wonky. It infers the stream as any with .toWeb(), so you need to manually override the type:
import fs from "node:fs";
import { Readable } from "node:stream";
import { CsvParseStream } from "@std/csv";

const source = Readable.toWeb(fs.createReadStream("./data.csv", "utf8"));
const stream = (source as ReadableStream<string>)
.pipeThrough(new CsvParseStream({ skipFirstRow: true }));
import fs from "node:fs";
import { Readable } from "node:stream";
import { CsvParseStream } from "@std/csv";

const source = Readable.toWeb(fs.createReadStream("./data.csv", "utf8"));
const stream = (source as ReadableStream<string>)
.pipeThrough(new CsvParseStream({ skipFirstRow: true }));
20 replies
DDeno
Created by nef on 5/8/2025 in #help
Possible to use CsvParseStream in Node.js
need to check. Up until now I thought you were using Deno's LSP
20 replies
DDeno
Created by nef on 5/8/2025 in #help
Possible to use CsvParseStream in Node.js
Oh so the issue is that you're getting the type error with plain ts and not with Deno's LSP?
20 replies
DDeno
Created by nef on 5/8/2025 in #help
Possible to use CsvParseStream in Node.js
I'm not sure at the top off my head how to resolve that error, but you could also go with the Deno-native version when you're using Deno in the first place:
import { CsvParseStream } from "@std/csv";

const source = await Deno.open("./data.csv");

const stream = source.readable
.pipeThrough(new TextDecoderStream())
.pipeThrough(new CsvParseStream({ skipFirstRow: true }));
import { CsvParseStream } from "@std/csv";

const source = await Deno.open("./data.csv");

const stream = source.readable
.pipeThrough(new TextDecoderStream())
.pipeThrough(new CsvParseStream({ skipFirstRow: true }));
20 replies
DDeno
Created by Natdm on 4/25/2025 in #help
Deno Monorepo with nested applications and packages
Right, nested workspaces are not supported in Deno. Relevant issue https://github.com/denoland/deno/issues/26879
6 replies
DDeno
Created by Poncho on 5/16/2025 in #help
`<details>` element cannot have the basic "name" property?
Looks like we missed that in the typings for Preact. PR with the fix: https://github.com/preactjs/preact/pull/4766
3 replies
DDeno
Created by mpcref on 5/16/2025 in #help
Use deno serve for tcp
yes, you're correct. iirc Deno.connect() is the way to go for tcp stuff but it doesn't have the automatic threading that deno serve --parallel gives you
3 replies
DDeno
Created by oatmealgrips on 5/14/2025 in #help
making a cli with arrow keys for navigating prior commands
The secret is ansi codes which are special character combinations in terminals that allow you to clear previous lines or move the cursor, see https://tldp.org/HOWTO/Bash-Prompt-HOWTO/x361.html
4 replies
DDeno
Created by bageren on 7/17/2024 in #help
TypeError [ERR_STREAM_NULL_VALUES]: May not write null values to stream
yeah
19 replies
DDeno
Created by bageren on 7/17/2024 in #help
TypeError [ERR_STREAM_NULL_VALUES]: May not write null values to stream
We usually make the distinction between Deno the CLI and Deno Deploy. In the past many users reported Deno Deploy issues in that tracker
19 replies
DDeno
Created by bageren on 7/17/2024 in #help
TypeError [ERR_STREAM_NULL_VALUES]: May not write null values to stream
@Rowin Nice, perfect! Let's create an issue out of that https://github.com/denoland/deno/issues
19 replies
DDeno
Created by KyleJune on 5/12/2025 in #help
Caching node dependencies in CI error
Can you open an issue for this here https://github.com/denoland/deno/issues ?
3 replies
DDeno
Created by steve02081504 on 11/14/2024 in #help
how to clear import cache of an file?
FYI: There is also the --watch-hmr flag that reloads modules during development
18 replies